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 \
28 cp/cp-mv-enotsup-xattr \
31 dd/skip-seek-past-dev \
32 install/install-C-root \
36 misc/chroot-credentials \
38 misc/truncate-owned-by-other \
39 mkdir/writable-under-readonly \
46 touch/now-owned-by-other
50 $(MAKE) check TESTS='$(root_tests)'
52 check-recursive: root-hint
54 # Advertise `check-root' target.
57 @echo '***********************************************************'
58 @echo "NOTICE: Some tests may be run only as root."
59 @echo " See the 'Running tests as root' section in README."
60 @echo '***********************************************************'
62 EXTRA_DIST += $(TESTS)
64 # Do not choose a name that is a shell keyword like 'if', or a
65 # commonly-used utility like 'cat' or 'test', as the name of a test.
66 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
67 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
68 # will execute the test script rather than the standard utility.
70 # Notes on the ordering of these tests:
71 # Place early in the list tests of the tools that
72 # are most commonly used in test scripts themselves.
73 # E.g., nearly every test script uses rm and chmod.
74 # help-version comes early because it's a basic sanity test.
75 # Put seq early, since lots of other tests use it.
76 # Put tests that sleep early, but not all together, so in parallel builds
77 # they share time with tests that burn CPU, not with others that sleep.
78 # Put head-elide-tail early, because it's long-running.
87 tail-2/inotify-hash-abuse \
88 tail-2/inotify-hash-abuse2 \
91 tail-2/inotify-rotate \
115 rm/interactive-always \
116 rm/interactive-once \
118 rm/one-file-system2 \
135 chgrp/default-no-deref \
144 misc/seq-long-double \
146 misc/head-elide-tail \
163 misc/pwd-unreadable-parent \
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 \
335 cp/parent-perm-race \
338 cp/preserve-slink-time \
359 dd/skip-seek-past-file \
376 du/inaccessible-cwd \
377 du/long-from-unreadable \
380 du/move-dir-while-traversing \
391 install/create-leading \
394 install/install-C-selinux \
395 install/strip-program \
402 ln/slash-decorated-nonexistent-dest \
405 ls/color-clear-to-eol \
418 ls/proc-selinux-segfault \
419 ls/readdir-mountpoint-inode \
424 ls/stat-free-symlinks \
487 tail-2/flush-initial \
488 tail-2/follow-stdin \
492 tail-2/start-middle \
494 touch/dangling-symlink \
498 touch/no-create-missing \
499 touch/no-dereference \
505 touch/trailing-slash \
670 include $(srcdir)/check.mk