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.
32 misc/truncate-owned-by-other \
33 mkdir/writable-under-readonly \
39 touch/now-owned-by-other
43 $(MAKE) check TESTS='$(root_tests)'
45 check-recursive: root-hint
47 # Advertise `check-root' target.
50 @echo '***********************************************************'
51 @echo "NOTICE: Some tests may be run only as root."
52 @echo " See the 'Running tests as root' section in README."
53 @echo '***********************************************************'
55 EXTRA_DIST += $(TESTS)
57 # Do not choose a name that is a shell keyword like 'if', or a
58 # commonly-used utility like 'cat' or 'test', as the name of a test.
59 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
60 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
61 # will execute the test script rather than the standard utility.
63 # Notes on the ordering of these tests:
64 # Place early in the list tests of the tools that
65 # are most commonly used in test scripts themselves.
66 # E.g., nearly every test script uses rm and chmod.
67 # help-version comes early because it's a basic sanity test.
68 # Put seq early, since lots of other tests use it.
69 # Put tests that sleep early, but not all together, so in parallel builds
70 # they share time with tests that burn CPU, not with others that sleep.
71 # Put head-elide-tail early, because it's long-running.
100 rm/interactive-always \
101 rm/interactive-once \
119 chgrp/default-no-deref \
128 misc/head-elide-tail \
141 misc/pwd-unreadable-parent \
145 misc/wc-files0-from \
165 misc/groups-version \
170 misc/md5sum-newline \
183 misc/printf-surprise \
185 misc/readlink-fp-loop \
186 misc/runcon-no-reorder \
198 misc/sort-files0-from \
219 misc/timeout-parameters \
221 misc/truncate-dangling-symlink \
222 misc/truncate-dir-fail \
223 misc/truncate-fail-diag \
225 misc/truncate-no-create-missing \
226 misc/truncate-overflow \
227 misc/truncate-parameters \
228 misc/truncate-relative \
239 chmod/thru-dangling \
243 chown/preserve-root \
259 cp/existing-perm-race \
270 cp/parent-perm-race \
300 du/inaccessible-cwd \
301 du/long-from-unreadable \
312 install/create-leading \
314 install/strip-program \
330 ls/proc-selinux-segfault \
335 ls/stat-free-symlinks \
399 tail-2/start-middle \
400 touch/dangling-symlink \
404 touch/no-create-missing \
575 include $(srcdir)/check.mk