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.
27 dd/skip-seek-past-dev \
28 install/install-C-root \
33 misc/truncate-owned-by-other \
34 mkdir/writable-under-readonly \
40 touch/now-owned-by-other
44 $(MAKE) check TESTS='$(root_tests)'
46 check-recursive: root-hint
48 # Advertise `check-root' target.
51 @echo '***********************************************************'
52 @echo "NOTICE: Some tests may be run only as root."
53 @echo " See the 'Running tests as root' section in README."
54 @echo '***********************************************************'
56 EXTRA_DIST += $(TESTS)
58 # Do not choose a name that is a shell keyword like 'if', or a
59 # commonly-used utility like 'cat' or 'test', as the name of a test.
60 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
61 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
62 # will execute the test script rather than the standard utility.
64 # Notes on the ordering of these tests:
65 # Place early in the list tests of the tools that
66 # are most commonly used in test scripts themselves.
67 # E.g., nearly every test script uses rm and chmod.
68 # help-version comes early because it's a basic sanity test.
69 # Put seq early, since lots of other tests use it.
70 # Put tests that sleep early, but not all together, so in parallel builds
71 # they share time with tests that burn CPU, not with others that sleep.
72 # Put head-elide-tail early, because it's long-running.
103 rm/interactive-always \
104 rm/interactive-once \
122 chgrp/default-no-deref \
130 misc/seq-long-double \
132 misc/head-elide-tail \
145 misc/pwd-unreadable-parent \
149 misc/wc-files0-from \
170 misc/groups-version \
175 misc/md5sum-newline \
188 misc/printf-surprise \
190 misc/readlink-fp-loop \
191 misc/runcon-no-reorder \
204 misc/sort-files0-from \
225 misc/timeout-parameters \
227 misc/truncate-dangling-symlink \
228 misc/truncate-dir-fail \
229 misc/truncate-fail-diag \
231 misc/truncate-no-create-missing \
232 misc/truncate-overflow \
233 misc/truncate-parameters \
234 misc/truncate-relative \
247 chmod/thru-dangling \
251 chown/preserve-root \
267 cp/existing-perm-race \
278 cp/parent-perm-race \
295 dd/skip-seek-past-file \
309 du/inaccessible-cwd \
310 du/long-from-unreadable \
321 install/create-leading \
324 install/install-C-selinux \
325 install/strip-program \
332 ls/color-clear-to-eol \
344 ls/proc-selinux-segfault \
349 ls/stat-free-symlinks \
413 tail-2/start-middle \
414 touch/dangling-symlink \
418 touch/no-create-missing \
589 include $(srcdir)/check.mk