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
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 \
145 misc/wc-files0-from \
164 misc/groups-version \
169 misc/md5sum-newline \
180 misc/printf-surprise \
182 misc/readlink-fp-loop \
183 misc/runcon-no-reorder \
219 chmod/thru-dangling \
223 chown/preserve-root \
239 cp/existing-perm-race \
250 cp/parent-perm-race \
278 du/inaccessible-cwd \
279 du/long-from-unreadable \
290 install/create-leading \
307 ls/proc-selinux-segfault \
312 ls/stat-free-symlinks \
376 tail-2/start-middle \
377 touch/dangling-symlink \
381 touch/no-create-missing \
389 include $(top_srcdir)/tests/check.mk