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.
26 dd/skip-seek-past-dev \
27 install/install-C-root \
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 \
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 \
205 misc/sort-files0-from \
207 misc/sort-merge-fdlimit \
227 misc/timeout-parameters \
229 misc/truncate-dangling-symlink \
230 misc/truncate-dir-fail \
231 misc/truncate-fail-diag \
233 misc/truncate-no-create-missing \
234 misc/truncate-overflow \
235 misc/truncate-parameters \
236 misc/truncate-relative \
249 chmod/thru-dangling \
253 chown/preserve-root \
269 cp/existing-perm-race \
280 cp/parent-perm-race \
297 dd/skip-seek-past-file \
311 du/inaccessible-cwd \
312 du/long-from-unreadable \
323 install/create-leading \
326 install/install-C-selinux \
327 install/strip-program \
334 ls/color-clear-to-eol \
346 ls/proc-selinux-segfault \
351 ls/stat-free-symlinks \
415 tail-2/start-middle \
416 touch/dangling-symlink \
420 touch/no-create-missing \
590 include $(srcdir)/check.mk