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.
25 cp/cp-mv-enotsup-xattr \
26 dd/skip-seek-past-dev \
27 install/install-C-root \
31 misc/chroot-credentials \
33 misc/truncate-owned-by-other \
34 mkdir/writable-under-readonly \
41 touch/now-owned-by-other
45 $(MAKE) check TESTS='$(root_tests)'
47 check-recursive: root-hint
49 # Advertise `check-root' target.
52 @echo '***********************************************************'
53 @echo "NOTICE: Some tests may be run only as root."
54 @echo " See the 'Running tests as root' section in README."
55 @echo '***********************************************************'
57 EXTRA_DIST += $(TESTS)
59 # Do not choose a name that is a shell keyword like 'if', or a
60 # commonly-used utility like 'cat' or 'test', as the name of a test.
61 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
62 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
63 # will execute the test script rather than the standard utility.
65 # Notes on the ordering of these tests:
66 # Place early in the list tests of the tools that
67 # are most commonly used in test scripts themselves.
68 # E.g., nearly every test script uses rm and chmod.
69 # help-version comes early because it's a basic sanity test.
70 # Put seq early, since lots of other tests use it.
71 # Put tests that sleep early, but not all together, so in parallel builds
72 # they share time with tests that burn CPU, not with others that sleep.
73 # Put head-elide-tail early, because it's long-running.
82 tail-2/inotify-hash-abuse \
83 tail-2/inotify-hash-abuse2 \
85 tail-2/inotify-rotate \
109 rm/interactive-always \
110 rm/interactive-once \
112 rm/one-file-system2 \
129 chgrp/default-no-deref \
138 misc/seq-long-double \
140 misc/head-elide-tail \
156 misc/pwd-unreadable-parent \
160 misc/wc-files0-from \
184 misc/groups-version \
190 misc/md5sum-newline \
191 misc/md5sum-parallel \
198 misc/nproc-positive \
208 misc/printf-surprise \
210 misc/readlink-fp-loop \
211 misc/runcon-no-reorder \
225 misc/sort-files0-from \
227 misc/sort-merge-fdlimit \
251 misc/timeout-parameters \
253 misc/truncate-dangling-symlink \
254 misc/truncate-dir-fail \
255 misc/truncate-fail-diag \
257 misc/truncate-no-create-missing \
258 misc/truncate-overflow \
259 misc/truncate-parameters \
260 misc/truncate-relative \
274 chmod/thru-dangling \
278 chown/preserve-root \
294 cp/existing-perm-race \
305 cp/parent-perm-race \
308 cp/preserve-slink-time \
328 dd/skip-seek-past-file \
344 du/inaccessible-cwd \
345 du/long-from-unreadable \
357 install/create-leading \
360 install/install-C-selinux \
361 install/strip-program \
368 ln/slash-decorated-nonexistent-dest \
371 ls/color-clear-to-eol \
384 ls/proc-selinux-segfault \
385 ls/readdir-mountpoint-inode \
390 ls/stat-free-symlinks \
453 tail-2/flush-initial \
454 tail-2/follow-stdin \
458 tail-2/start-middle \
460 touch/dangling-symlink \
464 touch/no-create-missing \
465 touch/no-dereference \
471 touch/trailing-slash \
636 include $(srcdir)/check.mk