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.
13 filefrag-extent-compare \
27 cp/cp-mv-enotsup-xattr \
30 dd/skip-seek-past-dev \
31 install/install-C-root \
35 misc/chroot-credentials \
37 misc/truncate-owned-by-other \
38 mkdir/writable-under-readonly \
45 touch/now-owned-by-other
49 $(MAKE) check TESTS='$(root_tests)'
51 check-recursive: root-hint
53 # Advertise `check-root' target.
56 @echo '***********************************************************'
57 @echo "NOTICE: Some tests may be run only as root."
58 @echo " See the 'Running tests as root' section in README."
59 @echo '***********************************************************'
61 EXTRA_DIST += $(TESTS)
63 # Do not choose a name that is a shell keyword like 'if', or a
64 # commonly-used utility like 'cat' or 'test', as the name of a test.
65 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
66 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
67 # will execute the test script rather than the standard utility.
69 # Notes on the ordering of these tests:
70 # Place early in the list tests of the tools that
71 # are most commonly used in test scripts themselves.
72 # E.g., nearly every test script uses rm and chmod.
73 # help-version comes early because it's a basic sanity test.
74 # Put seq early, since lots of other tests use it.
75 # Put tests that sleep early, but not all together, so in parallel builds
76 # they share time with tests that burn CPU, not with others that sleep.
77 # Put head-elide-tail early, because it's long-running.
86 tail-2/inotify-hash-abuse \
87 tail-2/inotify-hash-abuse2 \
90 tail-2/inotify-rotate \
114 rm/interactive-always \
115 rm/interactive-once \
117 rm/one-file-system2 \
134 chgrp/default-no-deref \
143 misc/seq-long-double \
145 misc/head-elide-tail \
162 misc/pwd-unreadable-parent \
166 misc/wc-files0-from \
192 misc/groups-version \
198 misc/md5sum-newline \
199 misc/md5sum-parallel \
206 misc/nproc-positive \
216 misc/printf-surprise \
218 misc/readlink-fp-loop \
219 misc/runcon-no-reorder \
231 misc/sort-benchmark-random \
233 misc/sort-compress-hang \
234 misc/sort-compress-proc \
236 misc/sort-debug-keys \
237 misc/sort-debug-warn \
238 misc/sort-files0-from \
241 misc/sort-merge-fdlimit \
244 misc/sort-spinlock-abuse \
245 misc/sort-stale-thread-mem \
247 misc/sort-unique-segv \
255 misc/stat-birthtime \
259 misc/stat-nanoseconds \
276 misc/timeout-parameters \
279 misc/truncate-dangling-symlink \
280 misc/truncate-dir-fail \
281 misc/truncate-fail-diag \
283 misc/truncate-no-create-missing \
284 misc/truncate-overflow \
285 misc/truncate-parameters \
286 misc/truncate-relative \
301 chmod/thru-dangling \
305 chown/preserve-root \
321 cp/existing-perm-race \
332 cp/parent-perm-race \
335 cp/preserve-slink-time \
355 dd/skip-seek-past-file \
372 du/inaccessible-cwd \
373 du/long-from-unreadable \
376 du/move-dir-while-traversing \
387 install/create-leading \
390 install/install-C-selinux \
391 install/strip-program \
398 ln/slash-decorated-nonexistent-dest \
401 ls/color-clear-to-eol \
414 ls/proc-selinux-segfault \
415 ls/readdir-mountpoint-inode \
420 ls/stat-free-symlinks \
483 tail-2/flush-initial \
484 tail-2/follow-stdin \
488 tail-2/start-middle \
490 touch/dangling-symlink \
494 touch/no-create-missing \
495 touch/no-dereference \
501 touch/trailing-slash \
666 include $(srcdir)/check.mk