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.
26 ## N O T E :: Do not add more names to this list.
27 ## N O T E :: Even these are expected to go away.
28 SUBDIRS = cut head join pr sort tac tail test tr uniq wc
37 mkdir/writable-under-readonly \
43 touch/now-owned-by-other
47 $(MAKE) check TESTS='$(root_tests)' SUBDIRS=
49 check-recursive: root-hint
51 # Advertise `check-root' target.
54 @echo '***********************************************************'
55 @echo "NOTICE: Some tests may be run only as root."
56 @echo " See the 'Running tests as root' section in README."
57 @echo '***********************************************************'
59 EXTRA_DIST += $(TESTS)
61 # Do not choose a name that is a shell keyword like 'if', or a
62 # commonly-used utility like 'cat' or 'test', as the name of a test.
63 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
64 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
65 # will execute the test script rather than the standard utility.
67 # Regarding ordering in SUBDIRS, place early in the list the tools that
68 # are most commonly used in test scripts. Nearly every test script uses
69 # rm and chmod, so they appear early in the list.
71 # Notes on the ordering of these tests:
72 # help-version comes early because it's a basic sanity test.
73 # Put seq early, since lots of other tests use it.
74 # Put tests that sleep early, but not all together, so in parallel builds
75 # they share time with tests that burn CPU, not with others that sleep.
76 # Put head-elide-tail early, because it's long-running.
104 rm/interactive-always \
105 rm/interactive-once \
123 chgrp/default-no-deref \
129 misc/head-elide-tail \
140 misc/pwd-unreadable-parent \
144 misc/wc-files0-from \
163 misc/groups-version \
168 misc/md5sum-newline \
179 misc/printf-surprise \
181 misc/readlink-fp-loop \
182 misc/runcon-no-reorder \
218 chmod/thru-dangling \
222 chown/preserve-root \
238 cp/existing-perm-race \
249 cp/parent-perm-race \
277 du/inaccessible-cwd \
278 du/long-from-unreadable \
289 install/create-leading \
306 ls/proc-selinux-segfault \
311 ls/stat-free-symlinks \
375 tail-2/start-middle \
376 touch/dangling-symlink \
380 touch/no-create-missing \
388 include $(top_srcdir)/tests/check.mk