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 built_programs = (cd ../src && MAKEFLAGS= $(MAKE) -s built_programs.list)
34 # Regarding ordering in SUBDIRS, place early in the list the tools that
35 # are most commonly used in test scripts. Every test script uses rm
36 # and chmod, so they have to be very early.
37 # Ordering within misc/ should handle the rest.
39 ## N O T E :: Please do not add new tests/ directories.
40 ## There are too many already. Put new tests in misc/.
45 chgrp chown cp cut dd du head \
46 install join ln ls mkdir mv pr readlink rmdir \
47 sort tac tail tail-2 test touch tr \
49 ## N O T E :: Please do not add new directories.
51 all_t = t1 t2 t3 t4 t5 t6 t7 t8 t9 ta tb
52 .PHONY: check-root $(all_t)
56 cd chown && $(MAKE) check TESTS=basic
58 cd cp && $(MAKE) check TESTS=special-bits
60 cd rm && $(MAKE) check TESTS=no-give-up
62 cd rm && $(MAKE) check TESTS=fail-2eperm
64 cd tail-2 && $(MAKE) check TESTS=append-only
66 cd rm && $(MAKE) check TESTS=one-file-system
68 cd ls && $(MAKE) check TESTS=nameless-uid
70 cd misc && $(MAKE) check TESTS=chcon
72 cd cp && $(MAKE) check TESTS=cp-a-selinux
74 cd mkdir && $(MAKE) check TESTS=writable-under-readonly
76 cd mv && $(MAKE) check TESTS=sticky-to-xpart
78 check-recursive: root-hint
80 # Advertise `check-root' target.
83 @echo '***********************************************************'
84 @echo "NOTICE: Some tests may be run only as root."
85 @echo " Do \`make check-root' as \`root' to run these tests."
86 @echo '***********************************************************'