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.
26 cp/cp-mv-enotsup-xattr \
28 dd/skip-seek-past-dev \
29 install/install-C-root \
33 misc/chroot-credentials \
35 misc/truncate-owned-by-other \
36 mkdir/writable-under-readonly \
43 touch/now-owned-by-other
47 $(MAKE) check TESTS='$(root_tests)'
49 check-recursive: root-hint
51 # Advertise `check-root' target.
54 @echo '***********************************************************'
55 @echo "NOTICE: Some tests may be run only as root."
56 @echo " See the 'Running tests as root' section in README."
57 @echo '***********************************************************'
59 EXTRA_DIST += $(TESTS)
61 # Do not choose a name that is a shell keyword like 'if', or a
62 # commonly-used utility like 'cat' or 'test', as the name of a test.
63 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
64 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
65 # will execute the test script rather than the standard utility.
67 # Notes on the ordering of these tests:
68 # Place early in the list tests of the tools that
69 # are most commonly used in test scripts themselves.
70 # E.g., nearly every test script uses rm and chmod.
71 # help-version comes early because it's a basic sanity test.
72 # Put seq early, since lots of other tests use it.
73 # Put tests that sleep early, but not all together, so in parallel builds
74 # they share time with tests that burn CPU, not with others that sleep.
75 # Put head-elide-tail early, because it's long-running.
84 tail-2/inotify-hash-abuse \
85 tail-2/inotify-hash-abuse2 \
87 tail-2/inotify-rotate \
111 rm/interactive-always \
112 rm/interactive-once \
114 rm/one-file-system2 \
131 chgrp/default-no-deref \
140 misc/seq-long-double \
142 misc/head-elide-tail \
158 misc/pwd-unreadable-parent \
162 misc/wc-files0-from \
186 misc/groups-version \
192 misc/md5sum-newline \
193 misc/md5sum-parallel \
200 misc/nproc-positive \
210 misc/printf-surprise \
212 misc/readlink-fp-loop \
213 misc/runcon-no-reorder \
227 misc/sort-files0-from \
230 misc/sort-merge-fdlimit \
255 misc/timeout-parameters \
257 misc/truncate-dangling-symlink \
258 misc/truncate-dir-fail \
259 misc/truncate-fail-diag \
261 misc/truncate-no-create-missing \
262 misc/truncate-overflow \
263 misc/truncate-parameters \
264 misc/truncate-relative \
278 chmod/thru-dangling \
282 chown/preserve-root \
298 cp/existing-perm-race \
309 cp/parent-perm-race \
312 cp/preserve-slink-time \
332 dd/skip-seek-past-file \
348 du/inaccessible-cwd \
349 du/long-from-unreadable \
361 install/create-leading \
364 install/install-C-selinux \
365 install/strip-program \
372 ln/slash-decorated-nonexistent-dest \
375 ls/color-clear-to-eol \
388 ls/proc-selinux-segfault \
389 ls/readdir-mountpoint-inode \
394 ls/stat-free-symlinks \
457 tail-2/flush-initial \
458 tail-2/follow-stdin \
462 tail-2/start-middle \
464 touch/dangling-symlink \
468 touch/no-create-missing \
469 touch/no-dereference \
475 touch/trailing-slash \
640 include $(srcdir)/check.mk