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.
99 rm/interactive-always \
100 rm/interactive-once \
118 chgrp/default-no-deref \
127 misc/head-elide-tail \
140 misc/pwd-unreadable-parent \
144 misc/wc-files0-from \
164 misc/groups-version \
169 misc/md5sum-newline \
182 misc/printf-surprise \
184 misc/readlink-fp-loop \
185 misc/runcon-no-reorder \
197 misc/sort-files0-from \
218 misc/timeout-parameters \
220 misc/truncate-dangling-symlink \
221 misc/truncate-dir-fail \
222 misc/truncate-fail-diag \
224 misc/truncate-no-create-missing \
225 misc/truncate-overflow \
226 misc/truncate-parameters \
227 misc/truncate-relative \
238 chmod/thru-dangling \
242 chown/preserve-root \
258 cp/existing-perm-race \
269 cp/parent-perm-race \
299 du/inaccessible-cwd \
300 du/long-from-unreadable \
311 install/create-leading \
313 install/strip-program \
329 ls/proc-selinux-segfault \
334 ls/stat-free-symlinks \
398 tail-2/start-middle \
399 touch/dangling-symlink \
403 touch/no-create-missing \
574 include $(srcdir)/check.mk