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 \
89 tail-2/inotify-rotate \
113 rm/interactive-always \
114 rm/interactive-once \
116 rm/one-file-system2 \
133 chgrp/default-no-deref \
142 misc/seq-long-double \
144 misc/head-elide-tail \
160 misc/pwd-unreadable-parent \
164 misc/wc-files0-from \
188 misc/groups-version \
194 misc/md5sum-newline \
195 misc/md5sum-parallel \
202 misc/nproc-positive \
212 misc/printf-surprise \
214 misc/readlink-fp-loop \
215 misc/runcon-no-reorder \
227 misc/sort-benchmark-random \
230 misc/sort-debug-keys \
231 misc/sort-debug-warn \
232 misc/sort-files0-from \
235 misc/sort-merge-fdlimit \
243 misc/stat-birthtime \
263 misc/timeout-parameters \
266 misc/truncate-dangling-symlink \
267 misc/truncate-dir-fail \
268 misc/truncate-fail-diag \
270 misc/truncate-no-create-missing \
271 misc/truncate-overflow \
272 misc/truncate-parameters \
273 misc/truncate-relative \
287 chmod/thru-dangling \
291 chown/preserve-root \
307 cp/existing-perm-race \
318 cp/parent-perm-race \
321 cp/preserve-slink-time \
341 dd/skip-seek-past-file \
358 du/inaccessible-cwd \
359 du/long-from-unreadable \
372 install/create-leading \
375 install/install-C-selinux \
376 install/strip-program \
383 ln/slash-decorated-nonexistent-dest \
386 ls/color-clear-to-eol \
399 ls/proc-selinux-segfault \
400 ls/readdir-mountpoint-inode \
405 ls/stat-free-symlinks \
468 tail-2/flush-initial \
469 tail-2/follow-stdin \
473 tail-2/start-middle \
475 touch/dangling-symlink \
479 touch/no-create-missing \
480 touch/no-dereference \
486 touch/trailing-slash \
651 include $(srcdir)/check.mk