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 cp/cp-mv-enotsup-xattr \
29 dd/skip-seek-past-dev \
30 install/install-C-root \
34 misc/chroot-credentials \
36 misc/truncate-owned-by-other \
37 mkdir/writable-under-readonly \
44 touch/now-owned-by-other
48 $(MAKE) check TESTS='$(root_tests)'
50 check-recursive: root-hint
52 # Advertise `check-root' target.
55 @echo '***********************************************************'
56 @echo "NOTICE: Some tests may be run only as root."
57 @echo " See the 'Running tests as root' section in README."
58 @echo '***********************************************************'
60 EXTRA_DIST += $(TESTS)
62 # Do not choose a name that is a shell keyword like 'if', or a
63 # commonly-used utility like 'cat' or 'test', as the name of a test.
64 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
65 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
66 # will execute the test script rather than the standard utility.
68 # Notes on the ordering of these tests:
69 # Place early in the list tests of the tools that
70 # are most commonly used in test scripts themselves.
71 # E.g., nearly every test script uses rm and chmod.
72 # help-version comes early because it's a basic sanity test.
73 # Put seq early, since lots of other tests use it.
74 # Put tests that sleep early, but not all together, so in parallel builds
75 # they share time with tests that burn CPU, not with others that sleep.
76 # Put head-elide-tail early, because it's long-running.
85 tail-2/inotify-hash-abuse \
86 tail-2/inotify-hash-abuse2 \
89 tail-2/inotify-rotate \
113 rm/interactive-always \
114 rm/interactive-once \
116 rm/one-file-system2 \
133 chgrp/default-no-deref \
142 misc/seq-long-double \
144 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 \
245 misc/stat-birthtime \
249 misc/stat-nanoseconds \
266 misc/timeout-parameters \
269 misc/truncate-dangling-symlink \
270 misc/truncate-dir-fail \
271 misc/truncate-fail-diag \
273 misc/truncate-no-create-missing \
274 misc/truncate-overflow \
275 misc/truncate-parameters \
276 misc/truncate-relative \
290 chmod/thru-dangling \
294 chown/preserve-root \
310 cp/existing-perm-race \
321 cp/parent-perm-race \
324 cp/preserve-slink-time \
344 dd/skip-seek-past-file \
361 du/inaccessible-cwd \
362 du/long-from-unreadable \
375 install/create-leading \
378 install/install-C-selinux \
379 install/strip-program \
386 ln/slash-decorated-nonexistent-dest \
389 ls/color-clear-to-eol \
402 ls/proc-selinux-segfault \
403 ls/readdir-mountpoint-inode \
408 ls/stat-free-symlinks \
471 tail-2/flush-initial \
472 tail-2/follow-stdin \
476 tail-2/start-middle \
478 touch/dangling-symlink \
482 touch/no-create-missing \
483 touch/no-dereference \
489 touch/trailing-slash \
654 include $(srcdir)/check.mk