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.
31 misc/truncate-owned-by-other \
32 mkdir/writable-under-readonly \
38 touch/now-owned-by-other
42 $(MAKE) check TESTS='$(root_tests)'
44 check-recursive: root-hint
46 # Advertise `check-root' target.
49 @echo '***********************************************************'
50 @echo "NOTICE: Some tests may be run only as root."
51 @echo " See the 'Running tests as root' section in README."
52 @echo '***********************************************************'
54 EXTRA_DIST += $(TESTS)
56 # Do not choose a name that is a shell keyword like 'if', or a
57 # commonly-used utility like 'cat' or 'test', as the name of a test.
58 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
59 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
60 # will execute the test script rather than the standard utility.
62 # Notes on the ordering of these tests:
63 # Place early in the list tests of the tools that
64 # are most commonly used in test scripts themselves.
65 # E.g., nearly every test script uses rm and chmod.
66 # help-version comes early because it's a basic sanity test.
67 # Put seq early, since lots of other tests use it.
68 # Put tests that sleep early, but not all together, so in parallel builds
69 # they share time with tests that burn CPU, not with others that sleep.
70 # Put head-elide-tail early, because it's long-running.
100 rm/interactive-always \
101 rm/interactive-once \
119 chgrp/default-no-deref \
127 misc/seq-long-double \
129 misc/head-elide-tail \
142 misc/pwd-unreadable-parent \
146 misc/wc-files0-from \
166 misc/groups-version \
171 misc/md5sum-newline \
184 misc/printf-surprise \
186 misc/readlink-fp-loop \
187 misc/runcon-no-reorder \
199 misc/sort-files0-from \
220 misc/timeout-parameters \
222 misc/truncate-dangling-symlink \
223 misc/truncate-dir-fail \
224 misc/truncate-fail-diag \
226 misc/truncate-no-create-missing \
227 misc/truncate-overflow \
228 misc/truncate-parameters \
229 misc/truncate-relative \
240 chmod/thru-dangling \
244 chown/preserve-root \
260 cp/existing-perm-race \
271 cp/parent-perm-race \
301 du/inaccessible-cwd \
302 du/long-from-unreadable \
313 install/create-leading \
315 install/strip-program \
333 ls/proc-selinux-segfault \
338 ls/stat-free-symlinks \
402 tail-2/start-middle \
403 touch/dangling-symlink \
407 touch/no-create-missing \
578 include $(srcdir)/check.mk