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.
15 filefrag-extent-compare \
31 cp/cp-mv-enotsup-xattr \
34 dd/skip-seek-past-dev \
35 install/install-C-root \
39 misc/chroot-credentials \
41 misc/truncate-owned-by-other \
42 mkdir/writable-under-readonly \
49 touch/now-owned-by-other
53 $(MAKE) check TESTS='$(root_tests)'
55 check-recursive: root-hint
57 # Advertise `check-root' target.
60 @echo '***********************************************************'
61 @echo "NOTICE: Some tests may be run only as root."
62 @echo " See the 'Running tests as root' section in README."
63 @echo '***********************************************************'
65 EXTRA_DIST += $(TESTS)
67 # Do not choose a name that is a shell keyword like 'if', or a
68 # commonly-used utility like 'cat' or 'test', as the name of a test.
69 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
70 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
71 # will execute the test script rather than the standard utility.
73 # Notes on the ordering of these tests:
74 # Place early in the list tests of the tools that
75 # are most commonly used in test scripts themselves.
76 # E.g., nearly every test script uses rm and chmod.
77 # help-version comes early because it's a basic sanity test.
78 # Put seq early, since lots of other tests use it.
79 # Put tests that sleep early, but not all together, so in parallel builds
80 # they share time with tests that burn CPU, not with others that sleep.
81 # Put head-elide-tail early, because it's long-running.
90 tail-2/inotify-hash-abuse \
91 tail-2/inotify-hash-abuse2 \
94 tail-2/inotify-rotate \
118 rm/interactive-always \
119 rm/interactive-once \
121 rm/one-file-system2 \
138 rm/4-million-entry-dir \
139 chgrp/default-no-deref \
148 misc/seq-long-double \
150 misc/head-elide-tail \
170 misc/wc-files0-from \
196 misc/groups-version \
202 misc/md5sum-newline \
203 misc/md5sum-parallel \
210 misc/nproc-positive \
220 misc/printf-surprise \
222 misc/readlink-fp-loop \
223 misc/runcon-no-reorder \
235 misc/sort-benchmark-random \
237 misc/sort-compress-hang \
238 misc/sort-compress-proc \
240 misc/sort-debug-keys \
241 misc/sort-debug-warn \
242 misc/sort-files0-from \
245 misc/sort-merge-fdlimit \
248 misc/sort-spinlock-abuse \
249 misc/sort-stale-thread-mem \
251 misc/sort-unique-segv \
254 split/suffix-length \
260 misc/stat-birthtime \
264 misc/stat-nanoseconds \
282 misc/timeout-parameters \
285 misc/truncate-dangling-symlink \
286 misc/truncate-dir-fail \
287 misc/truncate-fail-diag \
289 misc/truncate-no-create-missing \
290 misc/truncate-overflow \
291 misc/truncate-parameters \
292 misc/truncate-relative \
307 chmod/thru-dangling \
311 chown/preserve-root \
327 cp/existing-perm-dir \
328 cp/existing-perm-race \
343 cp/parent-perm-race \
347 cp/preserve-slink-time \
369 dd/skip-seek-past-file \
387 du/inaccessible-cwd \
388 du/long-from-unreadable \
391 du/move-dir-while-traversing \
402 install/create-leading \
405 install/install-C-selinux \
406 install/strip-program \
413 ln/slash-decorated-nonexistent-dest \
416 ls/color-clear-to-eol \
429 ls/proc-selinux-segfault \
430 ls/readdir-mountpoint-inode \
436 ls/stat-free-symlinks \
499 tail-2/flush-initial \
501 tail-2/follow-stdin \
505 tail-2/start-middle \
507 touch/dangling-symlink \
511 touch/no-create-missing \
512 touch/no-dereference \
518 touch/trailing-slash \
683 include $(srcdir)/check.mk