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 \
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.
102 rm/interactive-always \
103 rm/interactive-once \
121 chgrp/default-no-deref \
129 misc/seq-long-double \
131 misc/head-elide-tail \
144 misc/pwd-unreadable-parent \
148 misc/wc-files0-from \
168 misc/groups-version \
173 misc/md5sum-newline \
186 misc/printf-surprise \
188 misc/readlink-fp-loop \
189 misc/runcon-no-reorder \
202 misc/sort-files0-from \
223 misc/timeout-parameters \
225 misc/truncate-dangling-symlink \
226 misc/truncate-dir-fail \
227 misc/truncate-fail-diag \
229 misc/truncate-no-create-missing \
230 misc/truncate-overflow \
231 misc/truncate-parameters \
232 misc/truncate-relative \
245 chmod/thru-dangling \
249 chown/preserve-root \
265 cp/existing-perm-race \
276 cp/parent-perm-race \
293 dd/skip-seek-past-file \
307 du/inaccessible-cwd \
308 du/long-from-unreadable \
319 install/create-leading \
321 install/strip-program \
339 ls/proc-selinux-segfault \
344 ls/stat-free-symlinks \
408 tail-2/start-middle \
409 touch/dangling-symlink \
413 touch/no-create-missing \
584 include $(srcdir)/check.mk