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 \
30 cp/cp-mv-enotsup-xattr \
33 dd/skip-seek-past-dev \
34 install/install-C-root \
38 misc/chroot-credentials \
40 misc/truncate-owned-by-other \
41 mkdir/writable-under-readonly \
48 touch/now-owned-by-other
52 $(MAKE) check TESTS='$(root_tests)'
54 check-recursive: root-hint
56 # Advertise 'check-root' target.
59 @echo '***********************************************************'
60 @echo "NOTICE: Some tests may be run only as root."
61 @echo " See the 'Running tests as root' section in README."
62 @echo '***********************************************************'
64 EXTRA_DIST += $(TESTS)
66 # Do not choose a name that is a shell keyword like 'if', or a
67 # commonly-used utility like 'cat' or 'test', as the name of a test.
68 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
69 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
70 # will execute the test script rather than the standard utility.
72 # Notes on the ordering of these tests:
73 # Place early in the list tests of the tools that
74 # are most commonly used in test scripts themselves.
75 # E.g., nearly every test script uses rm and chmod.
76 # help-version comes early because it's a basic sanity test.
77 # Put seq early, since lots of other tests use it.
78 # Put tests that sleep early, but not all together, so in parallel builds
79 # they share time with tests that burn CPU, not with others that sleep.
80 # Put head-elide-tail early, because it's long-running.
89 tail-2/inotify-hash-abuse \
90 tail-2/inotify-hash-abuse2 \
93 tail-2/inotify-rotate \
117 rm/interactive-always \
118 rm/interactive-once \
120 rm/one-file-system2 \
137 rm/many-dir-entries-vs-OOM \
138 chgrp/default-no-deref \
147 misc/seq-long-double \
149 misc/head-elide-tail \
169 misc/wc-files0-from \
195 misc/groups-version \
202 misc/md5sum-newline \
203 misc/md5sum-parallel \
210 misc/nproc-positive \
220 misc/printf-surprise \
222 misc/readlink-fp-loop \
224 misc/runcon-no-reorder \
236 misc/sort-benchmark-random \
238 misc/sort-compress-hang \
239 misc/sort-compress-proc \
241 misc/sort-debug-keys \
242 misc/sort-debug-warn \
243 misc/sort-files0-from \
246 misc/sort-merge-fdlimit \
249 misc/sort-spinlock-abuse \
250 misc/sort-stale-thread-mem \
252 misc/sort-unique-segv \
254 misc/sort-NaN-infloop \
256 split/suffix-length \
257 split/additional-suffix \
264 misc/stat-birthtime \
268 misc/stat-nanoseconds \
280 misc/tac-2-nonseekable \
287 misc/timeout-parameters \
290 misc/truncate-dangling-symlink \
291 misc/truncate-dir-fail \
292 misc/truncate-fail-diag \
294 misc/truncate-no-create-missing \
295 misc/truncate-overflow \
296 misc/truncate-parameters \
297 misc/truncate-relative \
312 chmod/thru-dangling \
316 chown/preserve-root \
332 cp/existing-perm-dir \
333 cp/existing-perm-race \
348 cp/parent-perm-race \
352 cp/preserve-slink-time \
375 dd/skip-seek-past-file \
393 du/inaccessible-cwd \
394 du/long-from-unreadable \
397 du/move-dir-while-traversing \
409 install/create-leading \
412 install/install-C-selinux \
413 install/strip-program \
420 ln/slash-decorated-nonexistent-dest \
424 ls/color-clear-to-eol \
431 ls/getxattr-speedup \
438 ls/proc-selinux-segfault \
439 ls/readdir-mountpoint-inode \
446 ls/stat-free-symlinks \
498 mv/symlink-onto-hardlink \
499 mv/symlink-onto-hardlink-to-self \
512 tail-2/flush-initial \
514 tail-2/follow-stdin \
518 tail-2/start-middle \
520 touch/dangling-symlink \
524 touch/no-create-missing \
525 touch/no-dereference \
531 touch/trailing-slash \
696 include $(srcdir)/check.mk