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