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 \
201
misc/md5sum-newline \
202
misc/md5sum-parallel \
209
misc/nproc-positive \
219
misc/printf-surprise \
221
misc/readlink-fp-loop \
222
misc/runcon-no-reorder \
234
misc/sort-benchmark-random \
236
misc/sort-compress-hang \
237
misc/sort-compress-proc \
239
misc/sort-debug-keys \
240
misc/sort-debug-warn \
241
misc/sort-files0-from \
244
misc/sort-merge-fdlimit \
247
misc/sort-spinlock-abuse \
248
misc/sort-stale-thread-mem \
250
misc/sort-unique-segv \
253
split/suffix-length \
259
misc/stat-birthtime \
263
misc/stat-nanoseconds \
281
misc/timeout-parameters \
284
misc/truncate-dangling-symlink \
285
misc/truncate-dir-fail \
286
misc/truncate-fail-diag \
288
misc/truncate-no-create-missing \
289
misc/truncate-overflow \
290
misc/truncate-parameters \
291
misc/truncate-relative \
306
chmod/thru-dangling \
310
chown/preserve-root \
326
cp/existing-perm-dir \
327
cp/existing-perm-race \
342
cp/parent-perm-race \
346
cp/preserve-slink-time \
368
dd/skip-seek-past-file \
386
du/inaccessible-cwd \
387
du/long-from-unreadable \
390
du/move-dir-while-traversing \
401
install/create-leading \
404
install/install-C-selinux \
405
install/strip-program \
412
ln/slash-decorated-nonexistent-dest \
415
ls/color-clear-to-eol \
428
ls/proc-selinux-segfault \
429
ls/readdir-mountpoint-inode \
435
ls/stat-free-symlinks \
498
tail-2/flush-initial \
500
tail-2/follow-stdin \
504
tail-2/start-middle \
506
touch/dangling-symlink \
510
touch/no-create-missing \
511
touch/no-dereference \
517
touch/trailing-slash \
682
include $(srcdir)/check.mk