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 cp/cp-mv-enotsup-xattr \
28 dd/skip-seek-past-dev \
29 install/install-C-root \
33 misc/chroot-credentials \
35 misc/truncate-owned-by-other \
36 mkdir/writable-under-readonly \
43 touch/now-owned-by-other
47 $(MAKE) check TESTS='$(root_tests)'
49 check-recursive: root-hint
51 # Advertise `check-root' target.
54 @echo '***********************************************************'
55 @echo "NOTICE: Some tests may be run only as root."
56 @echo " See the 'Running tests as root' section in README."
57 @echo '***********************************************************'
59 EXTRA_DIST += $(TESTS)
61 # Do not choose a name that is a shell keyword like 'if', or a
62 # commonly-used utility like 'cat' or 'test', as the name of a test.
63 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
64 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
65 # will execute the test script rather than the standard utility.
67 # Notes on the ordering of these tests:
68 # Place early in the list tests of the tools that
69 # are most commonly used in test scripts themselves.
70 # E.g., nearly every test script uses rm and chmod.
71 # help-version comes early because it's a basic sanity test.
72 # Put seq early, since lots of other tests use it.
73 # Put tests that sleep early, but not all together, so in parallel builds
74 # they share time with tests that burn CPU, not with others that sleep.
75 # Put head-elide-tail early, because it's long-running.
84 tail-2/inotify-hash-abuse \
85 tail-2/inotify-hash-abuse2 \
88 tail-2/inotify-rotate \
112 rm/interactive-always \
113 rm/interactive-once \
115 rm/one-file-system2 \
132 chgrp/default-no-deref \
141 misc/seq-long-double \
143 misc/head-elide-tail \
160 misc/pwd-unreadable-parent \
164 misc/wc-files0-from \
190 misc/groups-version \
196 misc/md5sum-newline \
197 misc/md5sum-parallel \
204 misc/nproc-positive \
214 misc/printf-surprise \
216 misc/readlink-fp-loop \
217 misc/runcon-no-reorder \
229 misc/sort-benchmark-random \
232 misc/sort-debug-keys \
233 misc/sort-debug-warn \
234 misc/sort-files0-from \
237 misc/sort-merge-fdlimit \
240 misc/sort-spinlock-abuse \
242 misc/sort-unique-segv \
250 misc/stat-birthtime \
254 misc/stat-nanoseconds \
271 misc/timeout-parameters \
274 misc/truncate-dangling-symlink \
275 misc/truncate-dir-fail \
276 misc/truncate-fail-diag \
278 misc/truncate-no-create-missing \
279 misc/truncate-overflow \
280 misc/truncate-parameters \
281 misc/truncate-relative \
295 chmod/thru-dangling \
299 chown/preserve-root \
315 cp/existing-perm-race \
326 cp/parent-perm-race \
329 cp/preserve-slink-time \
349 dd/skip-seek-past-file \
366 du/inaccessible-cwd \
367 du/long-from-unreadable \
380 install/create-leading \
383 install/install-C-selinux \
384 install/strip-program \
391 ln/slash-decorated-nonexistent-dest \
394 ls/color-clear-to-eol \
407 ls/proc-selinux-segfault \
408 ls/readdir-mountpoint-inode \
413 ls/stat-free-symlinks \
476 tail-2/flush-initial \
477 tail-2/follow-stdin \
481 tail-2/start-middle \
483 touch/dangling-symlink \
487 touch/no-create-missing \
488 touch/no-dereference \
494 touch/trailing-slash \
660 misc/sort-spinlock-abuse
662 include $(srcdir)/check.mk