1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
3 # Sort in traditional ASCII order, regardless of the current locale;
4 # otherwise we may get into trouble with distinct strings that the
5 # current locale considers to be equal.
8 all_programs = (cd ../src && MAKEFLAGS= $(MAKE) -s all_programs.list)
12 all_programs="`$(all_programs)`" \
13 PACKAGE_BUGREPORT=$(PACKAGE_BUGREPORT) \
14 CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
15 PATH="$(VG_PATH_PREFIX)`pwd`/../src$(PATH_SEPARATOR)$$PATH"
18 $(TESTS) Coreutils.pm Makefile.am.in README acl envvar-check \
19 expensive group-names input-tty lang-default mk-script \
20 other-fs-tmpdir priv-check \
21 rwx-to-mode sample-test setgid-check sparse-file \
22 umask-check very-expensive
24 ## N O T E :: Please do not add new tests/ directories.
25 ## There are too many already. Put new tests in misc/.
27 chgrp chmod chown cp cut dd dircolors du expr factor fmt head \
28 install join ln ls ls-2 md5sum misc mkdir mv od pr readlink rm rmdir \
29 seq sha1sum shred sort stty sum tac tail tail-2 tee test touch tr \
30 tsort unexpand uniq wc
31 ## N O T E :: Please do not add new directories.
33 all_t = t1 t2 t3 t4 t5 t6 t7
34 .PHONY: check-root $(all_t)
38 cd chown && $(MAKE) check TESTS=basic
40 cd cp && $(MAKE) check TESTS=special-bits
42 cd rm && $(MAKE) check TESTS=no-give-up
44 cd rm && $(MAKE) check TESTS=fail-2eperm
46 cd tail-2 && $(MAKE) check TESTS=append-only
48 cd rm && $(MAKE) check TESTS=one-file-system
50 cd ls && $(MAKE) check TESTS=nameless-uid
52 check-recursive: root-hint
54 # Advertise `check-root' target.
57 @echo '***********************************************************'
58 @echo "NOTICE: Some tests may be run only as root."
59 @echo " Do \`make check-root' as \`root' to run these tests."
60 @echo '***********************************************************'