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.
27 cp/cp-mv-enotsup-xattr \
29 dd/skip-seek-past-dev \
30 install/install-C-root \
34 misc/chroot-credentials \
36 misc/truncate-owned-by-other \
37 mkdir/writable-under-readonly \
44 touch/now-owned-by-other
48 $(MAKE) check TESTS='$(root_tests)'
50 check-recursive: root-hint
52 # Advertise `check-root' target.
55 @echo '***********************************************************'
56 @echo "NOTICE: Some tests may be run only as root."
57 @echo " See the 'Running tests as root' section in README."
58 @echo '***********************************************************'
60 EXTRA_DIST += $(TESTS)
62 # Do not choose a name that is a shell keyword like 'if', or a
63 # commonly-used utility like 'cat' or 'test', as the name of a test.
64 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
65 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
66 # will execute the test script rather than the standard utility.
68 # Notes on the ordering of these tests:
69 # Place early in the list tests of the tools that
70 # are most commonly used in test scripts themselves.
71 # E.g., nearly every test script uses rm and chmod.
72 # help-version comes early because it's a basic sanity test.
73 # Put seq early, since lots of other tests use it.
74 # Put tests that sleep early, but not all together, so in parallel builds
75 # they share time with tests that burn CPU, not with others that sleep.
76 # Put head-elide-tail early, because it's long-running.
85 tail-2/inotify-hash-abuse \
86 tail-2/inotify-hash-abuse2 \
88 tail-2/inotify-rotate \
112 rm/interactive-always \
113 rm/interactive-once \
115 rm/one-file-system2 \
132 chgrp/default-no-deref \
141 misc/seq-long-double \
143 misc/head-elide-tail \
159 misc/pwd-unreadable-parent \
163 misc/wc-files0-from \
187 misc/groups-version \
193 misc/md5sum-newline \
194 misc/md5sum-parallel \
201 misc/nproc-positive \
211 misc/printf-surprise \
213 misc/readlink-fp-loop \
214 misc/runcon-no-reorder \
226 misc/sort-benchmark-random \
229 misc/sort-debug-keys \
230 misc/sort-debug-warn \
231 misc/sort-files0-from \
234 misc/sort-merge-fdlimit \
261 misc/timeout-parameters \
263 misc/truncate-dangling-symlink \
264 misc/truncate-dir-fail \
265 misc/truncate-fail-diag \
267 misc/truncate-no-create-missing \
268 misc/truncate-overflow \
269 misc/truncate-parameters \
270 misc/truncate-relative \
284 chmod/thru-dangling \
288 chown/preserve-root \
304 cp/existing-perm-race \
315 cp/parent-perm-race \
318 cp/preserve-slink-time \
338 dd/skip-seek-past-file \
354 du/inaccessible-cwd \
355 du/long-from-unreadable \
368 install/create-leading \
371 install/install-C-selinux \
372 install/strip-program \
379 ln/slash-decorated-nonexistent-dest \
382 ls/color-clear-to-eol \
395 ls/proc-selinux-segfault \
396 ls/readdir-mountpoint-inode \
401 ls/stat-free-symlinks \
464 tail-2/flush-initial \
465 tail-2/follow-stdin \
469 tail-2/start-middle \
471 touch/dangling-symlink \
475 touch/no-create-missing \
476 touch/no-dereference \
482 touch/trailing-slash \
647 include $(srcdir)/check.mk