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.
14 filefrag-extent-compare \
29 cp/cp-mv-enotsup-xattr \
32 dd/skip-seek-past-dev \
33 install/install-C-root \
37 misc/chroot-credentials \
39 misc/truncate-owned-by-other \
40 mkdir/writable-under-readonly \
47 touch/now-owned-by-other
51 $(MAKE) check TESTS='$(root_tests)'
53 check-recursive: root-hint
55 # Advertise `check-root' target.
58 @echo '***********************************************************'
59 @echo "NOTICE: Some tests may be run only as root."
60 @echo " See the 'Running tests as root' section in README."
61 @echo '***********************************************************'
63 EXTRA_DIST += $(TESTS)
65 # Do not choose a name that is a shell keyword like 'if', or a
66 # commonly-used utility like 'cat' or 'test', as the name of a test.
67 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
68 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
69 # will execute the test script rather than the standard utility.
71 # Notes on the ordering of these tests:
72 # Place early in the list tests of the tools that
73 # are most commonly used in test scripts themselves.
74 # E.g., nearly every test script uses rm and chmod.
75 # help-version comes early because it's a basic sanity test.
76 # Put seq early, since lots of other tests use it.
77 # Put tests that sleep early, but not all together, so in parallel builds
78 # they share time with tests that burn CPU, not with others that sleep.
79 # Put head-elide-tail early, because it's long-running.
88 tail-2/inotify-hash-abuse \
89 tail-2/inotify-hash-abuse2 \
92 tail-2/inotify-rotate \
116 rm/interactive-always \
117 rm/interactive-once \
119 rm/one-file-system2 \
136 chgrp/default-no-deref \
145 misc/seq-long-double \
147 misc/head-elide-tail \
167 misc/wc-files0-from \
193 misc/groups-version \
199 misc/md5sum-newline \
200 misc/md5sum-parallel \
207 misc/nproc-positive \
217 misc/printf-surprise \
219 misc/readlink-fp-loop \
220 misc/runcon-no-reorder \
232 misc/sort-benchmark-random \
234 misc/sort-compress-hang \
235 misc/sort-compress-proc \
237 misc/sort-debug-keys \
238 misc/sort-debug-warn \
239 misc/sort-files0-from \
242 misc/sort-merge-fdlimit \
245 misc/sort-spinlock-abuse \
246 misc/sort-stale-thread-mem \
248 misc/sort-unique-segv \
256 misc/stat-birthtime \
260 misc/stat-nanoseconds \
277 misc/timeout-parameters \
280 misc/truncate-dangling-symlink \
281 misc/truncate-dir-fail \
282 misc/truncate-fail-diag \
284 misc/truncate-no-create-missing \
285 misc/truncate-overflow \
286 misc/truncate-parameters \
287 misc/truncate-relative \
302 chmod/thru-dangling \
306 chown/preserve-root \
322 cp/existing-perm-race \
337 cp/parent-perm-race \
340 cp/preserve-slink-time \
362 dd/skip-seek-past-file \
380 du/inaccessible-cwd \
381 du/long-from-unreadable \
384 du/move-dir-while-traversing \
395 install/create-leading \
398 install/install-C-selinux \
399 install/strip-program \
406 ln/slash-decorated-nonexistent-dest \
409 ls/color-clear-to-eol \
422 ls/proc-selinux-segfault \
423 ls/readdir-mountpoint-inode \
428 ls/stat-free-symlinks \
491 tail-2/flush-initial \
493 tail-2/follow-stdin \
497 tail-2/start-middle \
499 touch/dangling-symlink \
503 touch/no-create-missing \
504 touch/no-dereference \
510 touch/trailing-slash \
675 include $(srcdir)/check.mk