mv: add --swap (-x) option to atomically swap 2 paths
[coreutils.git] / tests / local.mk
blob3a8a1336150e0a808488de474962ab0920767cfa
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
3 ## Copyright (C) 2007-2024 Free Software Foundation, Inc.
5 ## This program is free software: you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation, either version 3 of the License, or
8 ## (at your option) any later version.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program. If not, see <https://www.gnu.org/licenses/>.
18 # Indirection required so that we'll still be able to know the
19 # complete list of our tests even if the user overrides TESTS
20 # from the command line (as permitted by the test harness API).
21 TESTS = $(all_tests) $(factor_tests)
22 root_tests = $(all_root_tests)
24 EXTRA_DIST += $(all_tests)
26 TEST_EXTENSIONS = .sh .pl .xpl
28 if HAVE_PERL
29 TESTSUITE_PERL = $(PERL)
30 else
31 TESTSUITE_PERL = $(SHELL) $(srcdir)/tests/no-perl
32 endif
34 # Options passed to the perl invocations running the perl test scripts.
35 TESTSUITE_PERL_OPTIONS = -w -I$(srcdir)/tests -MCuSkip -MCoreutils
36 # '$f' is set by the Automake-generated test harness to the path of the
37 # current test script stripped of VPATH components, and is used by the
38 # CuTmpdir module to determine the name of the temporary files to be
39 # used. Note that $f is a shell variable, not a make macro, so the use
40 # of '$$f' below is correct, and not a typo.
41 TESTSUITE_PERL_OPTIONS += -M"CuTmpdir qw($$f)"
43 SH_LOG_COMPILER = $(SHELL)
44 PL_LOG_COMPILER = $(TESTSUITE_PERL) $(TESTSUITE_PERL_OPTIONS)
45 # Perl scripts that must be run in tainted mode.
46 XPL_LOG_COMPILER = $(TESTSUITE_PERL) -T $(TESTSUITE_PERL_OPTIONS)
48 # We don't want this to go in the top-level directory.
49 TEST_SUITE_LOG = tests/test-suite.log
51 # Note that the first lines are statements. They ensure that environment
52 # variables that can perturb tests are unset or set to expected values.
53 # The rest are envvar settings that propagate build-related Makefile
54 # variables to test scripts.
55 TESTS_ENVIRONMENT = \
56 . $(srcdir)/tests/lang-default; \
57 tmp__=$${TMPDIR-/tmp}; \
58 test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.; \
59 . $(srcdir)/tests/envvar-check; \
60 TMPDIR=$$tmp__; export TMPDIR; \
61 export \
62 VERSION='$(VERSION)' \
63 LOCALE_FR='$(LOCALE_FR)' \
64 LOCALE_FR_UTF8='$(LOCALE_FR_UTF8)' \
65 abs_top_builddir='$(abs_top_builddir)' \
66 abs_top_srcdir='$(abs_top_srcdir)' \
67 abs_srcdir='$(abs_srcdir)' \
68 built_programs='$(built_programs) $(single_binary_progs)' \
69 fail=0 \
70 host_os=$(host_os) \
71 host_triplet='$(host_triplet)' \
72 srcdir='$(srcdir)' \
73 top_srcdir='$(top_srcdir)' \
74 CONFIG_HEADER='$(abs_top_builddir)/$(CONFIG_INCLUDE)' \
75 CU_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
76 CC='$(CC)' \
77 AWK='$(AWK)' \
78 EGREP='$(EGREP)' \
79 EXEEXT='$(EXEEXT)' \
80 MAKE=$(MAKE) \
81 PACKAGE_VERSION=$(PACKAGE_VERSION) \
82 PERL='$(PERL)' \
83 SHELL='$(PREFERABLY_POSIX_SHELL)' \
84 ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \
85 PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
86 ; 9>&2
88 # On failure, display the global testsuite log on stdout.
89 VERBOSE = yes
91 EXTRA_DIST += \
92 init.cfg \
93 tests/Coreutils.pm \
94 tests/CuSkip.pm \
95 tests/CuTmpdir.pm \
96 tests/d_type-check \
97 tests/envvar-check \
98 tests/factor/run.sh \
99 tests/factor/create-test.sh \
100 tests/filefrag-extent-compare \
101 tests/seek-data-capable \
102 tests/init.sh \
103 tests/lang-default \
104 tests/no-perl \
105 tests/other-fs-tmpdir \
106 tests/sample-test \
107 $(pr_data)
109 all_root_tests = \
110 tests/chown/basic.sh \
111 tests/chgrp/from.sh \
112 tests/cp/cp-a-selinux.sh \
113 tests/cp/preserve-gid.sh \
114 tests/cp/special-bits.sh \
115 tests/cp/cp-mv-enotsup-xattr.sh \
116 tests/cp/capability.sh \
117 tests/cp/sparse-extents-2.sh \
118 tests/cp/cross-dev-symlink.sh \
119 tests/dd/skip-seek-past-dev.sh \
120 tests/df/problematic-chars.sh \
121 tests/df/over-mount-device.sh \
122 tests/du/bind-mount-dir-cycle.sh \
123 tests/du/bind-mount-dir-cycle-v2.sh \
124 tests/id/setgid.sh \
125 tests/install/install-C-root.sh \
126 tests/ls/capability.sh \
127 tests/ls/nameless-uid.sh \
128 tests/chcon/chcon.sh \
129 tests/chroot/chroot-credentials.sh \
130 tests/misc/selinux.sh \
131 tests/truncate/truncate-owned-by-other.sh \
132 tests/mkdir/writable-under-readonly.sh \
133 tests/mkdir/smack-root.sh \
134 tests/mv/hardlink-case.sh \
135 tests/mv/sticky-to-xpart.sh \
136 tests/rm/fail-2eperm.sh \
137 tests/rm/no-give-up.sh \
138 tests/rm/one-file-system.sh \
139 tests/rm/read-only.sh \
140 tests/rm/empty-immutable-skip.sh \
141 tests/split/l-chunk-root.sh \
142 tests/tail/append-only.sh \
143 tests/tail/end-of-device.sh \
144 tests/touch/now-owned-by-other.sh
146 ALL_RECURSIVE_TARGETS += check-root
147 .PHONY: check-root
148 check-root:
149 $(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
151 # Do not choose a name that is a shell keyword like 'if', or a
152 # commonly-used utility like 'cat' or 'test', as the name of a test.
153 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
154 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
155 # will execute the test script rather than the standard utility.
157 # Notes on the ordering of these tests:
158 # Place early in the list tests of the tools that
159 # are most commonly used in test scripts themselves.
160 # E.g., nearly every test script uses rm and chmod.
161 # help-version comes early because it's a basic sanity test.
162 # Put seq early, since lots of other tests use it.
163 # Put tests that sleep early, but not all together, so in parallel builds
164 # they share time with tests that burn CPU, not with others that sleep.
165 # Put head-elide-tail early, because it's long-running.
167 all_tests = \
168 tests/help/help-version.sh \
169 tests/help/help-version-getopt.sh \
170 tests/tail/inotify-race.sh \
171 tests/tail/inotify-race2.sh \
172 tests/misc/invalid-opt.pl \
173 tests/rm/ext3-perf.sh \
174 tests/rm/cycle.sh \
175 tests/cp/link-heap.sh \
176 tests/cp/no-ctx.sh \
177 tests/tty/tty-eof.pl \
178 tests/misc/read-errors.sh \
179 tests/misc/write-errors.sh \
180 tests/tail/inotify-hash-abuse.sh \
181 tests/tail/inotify-hash-abuse2.sh \
182 tests/tail/F-vs-missing.sh \
183 tests/tail/F-vs-rename.sh \
184 tests/tail/F-headers.sh \
185 tests/tail/descriptor-vs-rename.sh \
186 tests/tail/inotify-rotate.sh \
187 tests/tail/inotify-rotate-resources.sh \
188 tests/tail/inotify-dir-recreate.sh \
189 tests/tail/inotify-only-regular.sh \
190 tests/chmod/no-x.sh \
191 tests/chgrp/basic.sh \
192 tests/rm/dangling-symlink.sh \
193 tests/ls/ls-time.sh \
194 tests/rm/d-1.sh \
195 tests/rm/d-2.sh \
196 tests/rm/d-3.sh \
197 tests/rm/deep-1.sh \
198 tests/rm/deep-2.sh \
199 tests/rm/dir-no-w.sh \
200 tests/rm/dir-nonrecur.sh \
201 tests/rm/dot-rel.sh \
202 tests/rm/isatty.sh \
203 tests/rm/empty-inacc.sh \
204 tests/rm/empty-name.pl \
205 tests/rm/f-1.sh \
206 tests/rm/fail-eacces.sh \
207 tests/rm/fail-eperm.xpl \
208 tests/tail/assert.sh \
209 tests/rm/hash.sh \
210 tests/rm/i-1.sh \
211 tests/rm/i-never.sh \
212 tests/rm/i-no-r.sh \
213 tests/rm/ignorable.sh \
214 tests/rm/inaccessible.sh \
215 tests/rm/interactive-always.sh \
216 tests/rm/interactive-once.sh \
217 tests/rm/ir-1.sh \
218 tests/rm/one-file-system2.sh \
219 tests/rm/r-1.sh \
220 tests/rm/r-2.sh \
221 tests/rm/r-3.sh \
222 tests/rm/r-4.sh \
223 tests/rm/r-root.sh \
224 tests/rm/readdir-bug.sh \
225 tests/rm/rm1.sh \
226 tests/touch/empty-file.sh \
227 tests/rm/rm2.sh \
228 tests/rm/rm3.sh \
229 tests/rm/rm4.sh \
230 tests/rm/rm5.sh \
231 tests/rm/sunos-1.sh \
232 tests/rm/unread2.sh \
233 tests/rm/unread3.sh \
234 tests/rm/unreadable.pl \
235 tests/rm/v-slash.sh \
236 tests/rm/many-dir-entries-vs-OOM.sh \
237 tests/rm/rm-readdir-fail.sh \
238 tests/chgrp/default-no-deref.sh \
239 tests/chgrp/deref.sh \
240 tests/chgrp/no-x.sh \
241 tests/chgrp/posix-H.sh \
242 tests/chgrp/recurse.sh \
243 tests/fmt/base.pl \
244 tests/fmt/goal-option.sh \
245 tests/fmt/long-line.sh \
246 tests/fmt/non-space.sh \
247 tests/misc/echo.sh \
248 tests/env/env.sh \
249 tests/env/env-signal-handler.sh \
250 tests/ptx/ptx.pl \
251 tests/test/test.pl \
252 tests/seq/seq.pl \
253 tests/seq/seq-epipe.sh \
254 tests/seq/seq-extra-number.sh \
255 tests/seq/seq-io-errors.sh \
256 tests/seq/seq-locale.sh \
257 tests/seq/seq-long-double.sh \
258 tests/seq/seq-precision.sh \
259 tests/head/head.pl \
260 tests/head/head-elide-tail.pl \
261 tests/tail/tail-sysfs.sh \
262 tests/tail/tail-n0f.sh \
263 tests/ls/ls-misc.pl \
264 tests/date/date.pl \
265 tests/date/date-next-dow.pl \
266 tests/ptx/ptx-overrun.sh \
267 tests/misc/xstrtol.pl \
268 tests/tail/overlay-headers.sh \
269 tests/tail/pid.sh \
270 tests/od/od.pl \
271 tests/od/od-endian.sh \
272 tests/od/od-float.sh \
273 tests/misc/mktemp.pl \
274 tests/misc/arch.sh \
275 tests/pr/pr-tests.pl \
276 tests/pwd/pwd-option.sh \
277 tests/chcon/chcon-fail.sh \
278 tests/misc/coreutils.sh \
279 tests/cut/cut.pl \
280 tests/cut/cut-huge-range.sh \
281 tests/wc/wc.pl \
282 tests/wc/wc-files0-from.pl \
283 tests/wc/wc-files0.sh \
284 tests/wc/wc-nbsp.sh \
285 tests/wc/wc-parallel.sh \
286 tests/wc/wc-proc.sh \
287 tests/wc/wc-total.sh \
288 tests/cat/cat-E.sh \
289 tests/cat/cat-proc.sh \
290 tests/cat/cat-buf.sh \
291 tests/cat/cat-self.sh \
292 tests/misc/basename.pl \
293 tests/basenc/base64.pl \
294 tests/basenc/basenc.pl \
295 tests/misc/close-stdout.sh \
296 tests/chroot/chroot-fail.sh \
297 tests/cksum/cksum.sh \
298 tests/cksum/cksum-a.sh \
299 tests/cksum/cksum-c.sh \
300 tests/cksum/cksum-base64.pl \
301 tests/cksum/cksum-raw.sh \
302 tests/misc/comm.pl \
303 tests/csplit/csplit.sh \
304 tests/csplit/csplit-1000.sh \
305 tests/csplit/csplit-heap.sh \
306 tests/csplit/csplit-io-err.sh \
307 tests/csplit/csplit-suppress-matched.pl \
308 tests/date/date-debug.sh \
309 tests/date/date-sec.sh \
310 tests/date/date-tz.sh \
311 tests/misc/dircolors.pl \
312 tests/misc/dirname.pl \
313 tests/env/env-null.sh \
314 tests/env/env-S.pl \
315 tests/env/env-S-script.sh \
316 tests/misc/expand.pl \
317 tests/expr/expr.pl \
318 tests/expr/expr-multibyte.pl \
319 tests/factor/factor.pl \
320 tests/factor/factor-parallel.sh \
321 tests/misc/false-status.sh \
322 tests/misc/fold.pl \
323 tests/groups/groups-dash.sh \
324 tests/groups/groups-process-all.sh \
325 tests/groups/groups-version.sh \
326 tests/head/head-c.sh \
327 tests/head/head-pos.sh \
328 tests/head/head-write-error.sh \
329 tests/misc/kill.sh \
330 tests/cksum/b2sum.sh \
331 tests/cksum/md5sum.pl \
332 tests/cksum/md5sum-bsd.sh \
333 tests/cksum/md5sum-newline.pl \
334 tests/cksum/md5sum-parallel.sh \
335 tests/join/join.pl \
336 tests/join/join-utf8.sh \
337 tests/misc/mknod.sh \
338 tests/nice/nice.sh \
339 tests/nice/nice-fail.sh \
340 tests/misc/nl.sh \
341 tests/misc/nohup.sh \
342 tests/nproc/nproc-avail.sh \
343 tests/nproc/nproc-positive.sh \
344 tests/nproc/nproc-override.sh \
345 tests/misc/numfmt.pl \
346 tests/od/od-N.sh \
347 tests/od/od-j.sh \
348 tests/od/od-multiple-t.sh \
349 tests/od/od-x8.sh \
350 tests/misc/paste.pl \
351 tests/misc/pathchk.sh \
352 tests/misc/printenv.sh \
353 tests/printf/printf.sh \
354 tests/printf/printf-cov.pl \
355 tests/printf/printf-hex.sh \
356 tests/printf/printf-mb.sh \
357 tests/printf/printf-surprise.sh \
358 tests/printf/printf-quote.sh \
359 tests/pwd/pwd-long.sh \
360 tests/readlink/readlink-fp-loop.sh \
361 tests/readlink/readlink-root.sh \
362 tests/misc/realpath.sh \
363 tests/runcon/runcon-compute.sh \
364 tests/runcon/runcon-no-reorder.sh \
365 tests/cksum/sha1sum.pl \
366 tests/cksum/sha1sum-vec.pl \
367 tests/cksum/sha224sum.pl \
368 tests/cksum/sha256sum.pl \
369 tests/cksum/sha384sum.pl \
370 tests/cksum/sha512sum.pl \
371 tests/shred/shred-exact.sh \
372 tests/shred/shred-passes.sh \
373 tests/shred/shred-remove.sh \
374 tests/shred/shred-size.sh \
375 tests/shuf/shuf.sh \
376 tests/shuf/shuf-reservoir.sh \
377 tests/misc/sleep.sh \
378 tests/cksum/sm3sum.pl \
379 tests/sort/sort.pl \
380 tests/sort/sort-benchmark-random.sh \
381 tests/sort/sort-compress.sh \
382 tests/sort/sort-compress-hang.sh \
383 tests/sort/sort-compress-proc.sh \
384 tests/sort/sort-continue.sh \
385 tests/sort/sort-debug-keys.sh \
386 tests/sort/sort-debug-warn.sh \
387 tests/sort/sort-discrim.sh \
388 tests/sort/sort-files0-from.pl \
389 tests/sort/sort-float.sh \
390 tests/sort/sort-h-thousands-sep.sh \
391 tests/sort/sort-merge.pl \
392 tests/sort/sort-merge-fdlimit.sh \
393 tests/sort/sort-month.sh \
394 tests/sort/sort-exit-early.sh \
395 tests/sort/sort-rand.sh \
396 tests/sort/sort-spinlock-abuse.sh \
397 tests/sort/sort-stale-thread-mem.sh \
398 tests/sort/sort-unique.sh \
399 tests/sort/sort-unique-segv.sh \
400 tests/sort/sort-version.sh \
401 tests/sort/sort-NaN-infloop.sh \
402 tests/sort/sort-u-FMR.sh \
403 tests/split/filter.sh \
404 tests/split/suffix-auto-length.sh \
405 tests/split/suffix-length.sh \
406 tests/split/additional-suffix.sh \
407 tests/split/b-chunk.sh \
408 tests/split/fail.sh \
409 tests/split/lines.sh \
410 tests/split/line-bytes.sh \
411 tests/split/l-chunk.sh \
412 tests/split/r-chunk.sh \
413 tests/split/record-sep.sh \
414 tests/split/numeric.sh \
415 tests/split/guard-input.sh \
416 tests/stat/stat-birthtime.sh \
417 tests/stat/stat-fmt.sh \
418 tests/stat/stat-hyphen.sh \
419 tests/stat/stat-mount.sh \
420 tests/stat/stat-nanoseconds.sh \
421 tests/stat/stat-printf.pl \
422 tests/stat/stat-slash.sh \
423 tests/misc/stdbuf.sh \
424 tests/stty/stty.sh \
425 tests/stty/stty-invalid.sh \
426 tests/stty/stty-pairs.sh \
427 tests/stty/stty-row-col.sh \
428 tests/cksum/sum.pl \
429 tests/cksum/sum-sysv.sh \
430 tests/misc/sync.sh \
431 tests/tac/tac.pl \
432 tests/tac/tac-continue.sh \
433 tests/tac/tac-2-nonseekable.sh \
434 tests/tail/tail.pl \
435 tests/misc/tee.sh \
436 tests/test/test-N.sh \
437 tests/test/test-diag.pl \
438 tests/misc/time-style.sh \
439 tests/timeout/timeout.sh \
440 tests/timeout/timeout-blocked.pl \
441 tests/timeout/timeout-group.sh \
442 tests/timeout/timeout-large-parameters.sh \
443 tests/timeout/timeout-parameters.sh \
444 tests/tr/tr.pl \
445 tests/tr/tr-case-class.sh \
446 tests/truncate/truncate-dangling-symlink.sh \
447 tests/truncate/truncate-dir-fail.sh \
448 tests/truncate/truncate-fail-diag.sh \
449 tests/truncate/truncate-fifo.sh \
450 tests/truncate/truncate-no-create-missing.sh \
451 tests/truncate/truncate-overflow.sh \
452 tests/truncate/truncate-parameters.sh \
453 tests/truncate/truncate-relative.sh \
454 tests/misc/tsort.pl \
455 tests/tty/tty.sh \
456 tests/misc/usage_vs_getopt.sh \
457 tests/misc/unexpand.pl \
458 tests/uniq/uniq.pl \
459 tests/uniq/uniq-perf.sh \
460 tests/uniq/uniq-collate.sh \
461 tests/misc/xattr.sh \
462 tests/misc/yes.sh \
463 tests/tail/wait.sh \
464 tests/tail/retry.sh \
465 tests/tail/symlink.sh \
466 tests/tail/tail-c.sh \
467 tests/tail/truncate.sh \
468 tests/chmod/c-option.sh \
469 tests/chmod/equal-x.sh \
470 tests/chmod/equals.sh \
471 tests/chmod/ignore-symlink.sh \
472 tests/chmod/inaccessible.sh \
473 tests/chmod/octal.sh \
474 tests/chmod/setgid.sh \
475 tests/chmod/silent.sh \
476 tests/chmod/thru-dangling.sh \
477 tests/chmod/umask-x.sh \
478 tests/chmod/usage.sh \
479 tests/chown/deref.sh \
480 tests/chown/preserve-root.sh \
481 tests/chown/separator.sh \
482 tests/cp/abuse.sh \
483 tests/cp/acl.sh \
484 tests/cp/attr-existing.sh \
485 tests/cp/backup-1.sh \
486 tests/cp/backup-dir.sh \
487 tests/cp/backup-is-src.sh \
488 tests/cp/cp-HL.sh \
489 tests/cp/cp-deref.sh \
490 tests/cp/cp-i.sh \
491 tests/cp/cp-mv-backup.sh \
492 tests/cp/cp-parents.sh \
493 tests/cp/debug.sh \
494 tests/cp/deref-slink.sh \
495 tests/cp/dir-rm-dest.sh \
496 tests/cp/dir-slash.sh \
497 tests/cp/dir-vs-file.sh \
498 tests/cp/existing-perm-dir.sh \
499 tests/cp/existing-perm-race.sh \
500 tests/cp/fail-perm.sh \
501 tests/cp/keep-directory-symlink.sh \
502 tests/cp/sparse-extents.sh \
503 tests/cp/copy-FMR.sh \
504 tests/cp/sparse-perf.sh \
505 tests/cp/sparse-2.sh \
506 tests/cp/file-perm-race.sh \
507 tests/cp/into-self.sh \
508 tests/cp/link.sh \
509 tests/cp/link-deref.sh \
510 tests/cp/link-no-deref.sh \
511 tests/cp/link-preserve.sh \
512 tests/cp/link-symlink.sh \
513 tests/cp/nfs-removal-race.sh \
514 tests/cp/no-deref-link1.sh \
515 tests/cp/no-deref-link2.sh \
516 tests/cp/no-deref-link3.sh \
517 tests/cp/parent-perm.sh \
518 tests/cp/parent-perm-race.sh \
519 tests/cp/perm.sh \
520 tests/cp/preserve-2.sh \
521 tests/cp/preserve-link.sh \
522 tests/cp/preserve-mode.sh \
523 tests/cp/preserve-slink-time.sh \
524 tests/cp/proc-short-read.sh \
525 tests/cp/proc-zero-len.sh \
526 tests/cp/r-vs-symlink.sh \
527 tests/cp/reflink-auto.sh \
528 tests/cp/reflink-perm.sh \
529 tests/cp/same-file.sh \
530 tests/cp/slink-2-slink.sh \
531 tests/cp/sparse.sh \
532 tests/cp/sparse-to-pipe.sh \
533 tests/cp/special-f.sh \
534 tests/cp/src-base-dot.sh \
535 tests/cp/symlink-slash.sh \
536 tests/cp/thru-dangling.sh \
537 tests/df/header.sh \
538 tests/df/df-P.sh \
539 tests/df/df-output.sh \
540 tests/df/df-symlink.sh \
541 tests/df/unreadable.sh \
542 tests/df/total-unprocessed.sh \
543 tests/df/no-mtab-status.sh \
544 tests/df/skip-duplicates.sh \
545 tests/df/skip-rootfs.sh \
546 tests/dd/ascii.sh \
547 tests/dd/direct.sh \
548 tests/dd/misc.sh \
549 tests/dd/no-allocate.sh \
550 tests/dd/nocache.sh \
551 tests/dd/nocache_eof.sh \
552 tests/dd/not-rewound.sh \
553 tests/dd/reblock.sh \
554 tests/dd/skip-seek.pl \
555 tests/dd/skip-seek2.sh \
556 tests/dd/bytes.sh \
557 tests/dd/skip-seek-past-file.sh \
558 tests/dd/sparse.sh \
559 tests/dd/stderr.sh \
560 tests/dd/unblock.pl \
561 tests/dd/unblock-sync.sh \
562 tests/dd/stats.sh \
563 tests/df/total-verify.sh \
564 tests/du/2g.sh \
565 tests/du/8gb.sh \
566 tests/du/apparent.sh \
567 tests/du/basic.sh \
568 tests/du/bigtime.sh \
569 tests/du/deref.sh \
570 tests/du/deref-args.sh \
571 tests/du/exclude.sh \
572 tests/du/fd-leak.sh \
573 tests/du/files0-from.pl \
574 tests/du/files0-from-dir.sh \
575 tests/du/hard-link.sh \
576 tests/du/inacc-dest.sh \
577 tests/du/inacc-dir.sh \
578 tests/du/inaccessible-cwd.sh \
579 tests/du/inodes.sh \
580 tests/du/long-from-unreadable.sh \
581 tests/du/long-sloop.sh \
582 tests/du/max-depth.sh \
583 tests/du/move-dir-while-traversing.sh \
584 tests/du/no-deref.sh \
585 tests/du/no-x.sh \
586 tests/du/one-file-system.sh \
587 tests/du/restore-wd.sh \
588 tests/du/slash.sh \
589 tests/du/threshold.sh \
590 tests/du/trailing-slash.sh \
591 tests/du/two-args.sh \
592 tests/id/gnu-zero-uids.sh \
593 tests/id/no-context.sh \
594 tests/id/context.sh \
595 tests/id/uid.sh \
596 tests/id/zero.sh \
597 tests/id/smack.sh \
598 tests/install/basic-1.sh \
599 tests/install/create-leading.sh \
600 tests/install/d-slashdot.sh \
601 tests/install/install-C.sh \
602 tests/install/install-C-selinux.sh \
603 tests/install/install-Z-selinux.sh \
604 tests/install/strip-program.sh \
605 tests/install/trap.sh \
606 tests/ln/backup-1.sh \
607 tests/ln/hard-backup.sh \
608 tests/ln/hard-to-sym.sh \
609 tests/ln/misc.sh \
610 tests/ln/relative.sh \
611 tests/ln/sf-1.sh \
612 tests/ln/slash-decorated-nonexistent-dest.sh \
613 tests/ln/target-1.sh \
614 tests/ls/a-option.sh \
615 tests/ls/acl.sh \
616 tests/ls/abmon-align.sh \
617 tests/ls/birthtime.sh \
618 tests/ls/block-size.sh \
619 tests/ls/classify.sh \
620 tests/ls/color-clear-to-eol.sh \
621 tests/ls/color-dtype-dir.sh \
622 tests/ls/color-norm.sh \
623 tests/ls/color-term.sh \
624 tests/ls/color-ext.sh \
625 tests/ls/dangle.sh \
626 tests/ls/dired.sh \
627 tests/ls/file-type.sh \
628 tests/ls/follow-slink.sh \
629 tests/ls/getxattr-speedup.sh \
630 tests/ls/group-dirs.sh \
631 tests/ls/hex-option.sh \
632 tests/ls/hyperlink.sh \
633 tests/ls/infloop.sh \
634 tests/ls/inode.sh \
635 tests/ls/m-option.sh \
636 tests/ls/w-option.sh \
637 tests/ls/multihardlink.sh \
638 tests/ls/no-arg.sh \
639 tests/ls/no-cap.sh \
640 tests/ls/selinux-segfault.sh \
641 tests/ls/quote-align.sh \
642 tests/ls/size-align.sh \
643 tests/ls/readdir-mountpoint-inode.sh \
644 tests/ls/recursive.sh \
645 tests/ls/removed-directory.sh \
646 tests/ls/root-rel-symlink-color.sh \
647 tests/ls/rt-1.sh \
648 tests/ls/slink-acl.sh \
649 tests/ls/stat-dtype.sh \
650 tests/ls/stat-failed.sh \
651 tests/ls/stat-free-color.sh \
652 tests/ls/stat-free-symlinks.sh \
653 tests/ls/stat-vs-dirent.sh \
654 tests/ls/symlink-loop.sh \
655 tests/ls/symlink-quote.sh \
656 tests/ls/symlink-slash.sh \
657 tests/ls/time-style-diag.sh \
658 tests/ls/sort-width-option.sh \
659 tests/ls/x-option.sh \
660 tests/ls/zero-option.sh \
661 tests/mkdir/p-1.sh \
662 tests/mkdir/p-2.sh \
663 tests/mkdir/p-3.sh \
664 tests/mkdir/p-acl.sh \
665 tests/mkdir/p-slashdot.sh \
666 tests/mkdir/p-thru-slink.sh \
667 tests/mkdir/p-v.sh \
668 tests/mkdir/parents.sh \
669 tests/mkdir/perm.sh \
670 tests/mkdir/selinux.sh \
671 tests/mkdir/restorecon.sh \
672 tests/mkdir/special-1.sh \
673 tests/mkdir/t-slash.sh \
674 tests/mkdir/smack-no-root.sh \
675 tests/mv/acl.sh \
676 tests/mv/atomic.sh \
677 tests/mv/atomic2.sh \
678 tests/mv/backup-dir.sh \
679 tests/mv/backup-is-src.sh \
680 tests/mv/childproof.sh \
681 tests/mv/diag.sh \
682 tests/mv/dir-file.sh \
683 tests/mv/dir2dir.sh \
684 tests/mv/dup-source.sh \
685 tests/mv/force.sh \
686 tests/mv/hard-2.sh \
687 tests/mv/hard-3.sh \
688 tests/mv/hard-4.sh \
689 tests/mv/hard-link-1.sh \
690 tests/mv/i-1.pl \
691 tests/mv/i-2.sh \
692 tests/mv/i-3.sh \
693 tests/mv/i-4.sh \
694 tests/mv/i-5.sh \
695 tests/mv/i-link-no.sh \
696 tests/mv/into-self.sh \
697 tests/mv/into-self-2.sh \
698 tests/mv/into-self-3.sh \
699 tests/mv/into-self-4.sh \
700 tests/mv/leak-fd.sh \
701 tests/mv/mv-n.sh \
702 tests/mv/mv-swap.sh \
703 tests/mv/mv-special-1.sh \
704 tests/mv/no-copy.sh \
705 tests/mv/no-target-dir.sh \
706 tests/mv/part-fail.sh \
707 tests/mv/part-hardlink.sh \
708 tests/mv/part-rename.sh \
709 tests/mv/part-symlink.sh \
710 tests/mv/partition-perm.sh \
711 tests/mv/perm-1.sh \
712 tests/mv/symlink-onto-hardlink.sh \
713 tests/mv/symlink-onto-hardlink-to-self.sh \
714 tests/mv/to-symlink.sh \
715 tests/mv/trailing-slash.sh \
716 tests/mv/update.sh \
717 tests/readlink/can-e.sh \
718 tests/readlink/can-f.sh \
719 tests/readlink/can-m.sh \
720 tests/readlink/multi.sh \
721 tests/readlink/rl-1.sh \
722 tests/rmdir/fail-perm.sh \
723 tests/rmdir/ignore.sh \
724 tests/rmdir/symlink-errors.sh \
725 tests/rmdir/t-slash.sh \
726 tests/tail/assert-2.sh \
727 tests/tail/big-4gb.sh \
728 tests/tail/flush-initial.sh \
729 tests/tail/follow-name.sh \
730 tests/tail/follow-stdin.sh \
731 tests/tail/pipe-f.sh \
732 tests/tail/pipe-f2.sh \
733 tests/tail/proc-ksyms.sh \
734 tests/tail/start-middle.sh \
735 tests/touch/60-seconds.sh \
736 tests/touch/dangling-symlink.sh \
737 tests/touch/dir-1.sh \
738 tests/touch/fail-diag.sh \
739 tests/touch/fifo.sh \
740 tests/touch/no-create-missing.sh \
741 tests/touch/no-dereference.sh \
742 tests/touch/no-rights.sh \
743 tests/touch/not-owner.sh \
744 tests/touch/obsolescent.sh \
745 tests/touch/read-only.sh \
746 tests/touch/relative.sh \
747 tests/touch/trailing-slash.sh \
748 $(all_root_tests)
750 # See tests/factor/create-test.sh.
751 tf = tests/factor
752 factor_tests = \
753 $(tf)/t00.sh $(tf)/t01.sh $(tf)/t02.sh $(tf)/t03.sh $(tf)/t04.sh \
754 $(tf)/t05.sh $(tf)/t06.sh $(tf)/t07.sh $(tf)/t08.sh $(tf)/t09.sh \
755 $(tf)/t10.sh $(tf)/t11.sh $(tf)/t12.sh $(tf)/t13.sh $(tf)/t14.sh \
756 $(tf)/t15.sh $(tf)/t16.sh $(tf)/t17.sh $(tf)/t18.sh $(tf)/t19.sh \
757 $(tf)/t20.sh $(tf)/t21.sh $(tf)/t22.sh $(tf)/t23.sh $(tf)/t24.sh \
758 $(tf)/t25.sh $(tf)/t26.sh $(tf)/t27.sh $(tf)/t28.sh $(tf)/t29.sh \
759 $(tf)/t30.sh $(tf)/t31.sh $(tf)/t32.sh $(tf)/t33.sh $(tf)/t34.sh \
760 $(tf)/t35.sh $(tf)/t36.sh
762 $(factor_tests): $(tf)/run.sh $(tf)/create-test.sh
763 $(AM_V_GEN)$(MKDIR_P) $(tf)
764 $(AM_V_at)$(SHELL) $(srcdir)/$(tf)/create-test.sh $@ \
765 $(srcdir)/$(tf)/run.sh > $@-t
766 $(AM_V_at)chmod a+x $@-t
767 $(AM_V_at)mv -f $@-t $@
769 CLEANFILES += $(factor_tests)
771 pr_data = \
772 tests/pr/0F \
773 tests/pr/0FF \
774 tests/pr/0FFnt \
775 tests/pr/0FFt \
776 tests/pr/0FnFnt \
777 tests/pr/0FnFt \
778 tests/pr/0Fnt \
779 tests/pr/0Ft \
780 tests/pr/2-S_f-t_notab \
781 tests/pr/2-Sf-t_notab \
782 tests/pr/2f-t_notab \
783 tests/pr/2s_f-t_notab \
784 tests/pr/2s_w60f-t_nota \
785 tests/pr/2sf-t_notab \
786 tests/pr/2sw60f-t_notab \
787 tests/pr/2w60f-t_notab \
788 tests/pr/3-0F \
789 tests/pr/3-5l24f-t \
790 tests/pr/3-FF \
791 tests/pr/3a2l17-FF \
792 tests/pr/3a3f-0F \
793 tests/pr/3a3l15-t \
794 tests/pr/3a3l15f-t \
795 tests/pr/3b2l17-FF \
796 tests/pr/3b3f-0F \
797 tests/pr/3b3f-0FF \
798 tests/pr/3b3f-FF \
799 tests/pr/3b3l15-t \
800 tests/pr/3b3l15f-t \
801 tests/pr/3f-0F \
802 tests/pr/3f-FF \
803 tests/pr/3l24-t \
804 tests/pr/3l24f-t \
805 tests/pr/3ml24-FF \
806 tests/pr/3ml24-t \
807 tests/pr/3ml24-t-FF \
808 tests/pr/3ml24f-t \
809 tests/pr/4-7l24-FF \
810 tests/pr/4l24-FF \
811 tests/pr/FF \
812 tests/pr/FFn \
813 tests/pr/FFtn \
814 tests/pr/FnFn \
815 tests/pr/Ja3l24f-lm \
816 tests/pr/Jb3l24f-lm \
817 tests/pr/Jml24f-lm-lo \
818 tests/pr/W-72l24f-ll \
819 tests/pr/W20l24f-ll \
820 tests/pr/W26l24f-ll \
821 tests/pr/W27l24f-ll \
822 tests/pr/W28l24f-ll \
823 tests/pr/W35Ja3l24f-lm \
824 tests/pr/W35Jb3l24f-lm \
825 tests/pr/W35Jml24f-lmlo \
826 tests/pr/W35a3l24f-lm \
827 tests/pr/W35b3l24f-lm \
828 tests/pr/W35ml24f-lm-lo \
829 tests/pr/W72Jl24f-ll \
830 tests/pr/a2l15-FF \
831 tests/pr/a2l17-FF \
832 tests/pr/a3-0F \
833 tests/pr/a3f-0F \
834 tests/pr/a3f-0FF \
835 tests/pr/a3f-FF \
836 tests/pr/a3l15-t \
837 tests/pr/a3l15f-t \
838 tests/pr/a3l24f-lm \
839 tests/pr/b2l15-FF \
840 tests/pr/b2l17-FF \
841 tests/pr/b3-0F \
842 tests/pr/b3f-0F \
843 tests/pr/b3f-0FF \
844 tests/pr/b3f-FF \
845 tests/pr/b3l15-t \
846 tests/pr/b3l15f-t \
847 tests/pr/b3l24f-lm \
848 tests/pr/l24-FF \
849 tests/pr/l24-t \
850 tests/pr/l24f-t \
851 tests/pr/loli \
852 tests/pr/ml20-FF-t \
853 tests/pr/ml24-FF \
854 tests/pr/ml24-t \
855 tests/pr/ml24-t-FF \
856 tests/pr/ml24f-0F \
857 tests/pr/ml24f-lm-lo \
858 tests/pr/ml24f-t \
859 tests/pr/ml24f-t-0F \
860 tests/pr/n+2-5l24f-0FF \
861 tests/pr/n+2l24f-0FF \
862 tests/pr/n+2l24f-bl \
863 tests/pr/n+3-7l24-FF \
864 tests/pr/n+3l24f-0FF \
865 tests/pr/n+3l24f-bl \
866 tests/pr/n+3ml20f-bl-FF \
867 tests/pr/n+3ml24f-bl-tn \
868 tests/pr/n+3ml24f-tn-bl \
869 tests/pr/n+4-8a2l17-FF \
870 tests/pr/n+4b2l17f-0FF \
871 tests/pr/n+5-8b3l17f-FF \
872 tests/pr/n+5a3l13f-0FF \
873 tests/pr/n+6a2l17-FF \
874 tests/pr/n+6b3l13f-FF \
875 tests/pr/n+7l24-FF \
876 tests/pr/n+8l20-FF \
877 tests/pr/nJml24f-lmlmlo \
878 tests/pr/nJml24f-lmlolm \
879 tests/pr/nN1+3l24f-bl \
880 tests/pr/nN15l24f-bl \
881 tests/pr/nSml20-bl-FF \
882 tests/pr/nSml20-t-t-FF \
883 tests/pr/nSml20-t-tFFFF \
884 tests/pr/nSml24-bl-FF \
885 tests/pr/nSml24-t-t-FF \
886 tests/pr/nSml24-t-tFFFF \
887 tests/pr/nl24f-bl \
888 tests/pr/o3Jml24f-lm-lo \
889 tests/pr/o3a3Sl24f-tn \
890 tests/pr/o3a3Snl24f-tn \
891 tests/pr/o3a3l24f-tn \
892 tests/pr/o3b3Sl24f-tn \
893 tests/pr/o3b3Snl24f-tn \
894 tests/pr/o3b3l24f-tn \
895 tests/pr/o3mSl24f-bl-tn \
896 tests/pr/o3mSnl24fbltn \
897 tests/pr/o3ml24f-bl-tn \
898 tests/pr/t-0FF \
899 tests/pr/t-FF \
900 tests/pr/t-bl \
901 tests/pr/t-t \
902 tests/pr/tFFn \
903 tests/pr/tFFt \
904 tests/pr/tFFt-bl \
905 tests/pr/tFFt-ll \
906 tests/pr/tFFt-lm \
907 tests/pr/tFnFt \
908 tests/pr/t_notab \
909 tests/pr/t_tab \
910 tests/pr/t_tab_ \
911 tests/pr/ta3-0FF \
912 tests/pr/ta3-FF \
913 tests/pr/tb3-0FF \
914 tests/pr/tb3-FF \
915 tests/pr/tn \
916 tests/pr/tn2e5o3-t_tab \
917 tests/pr/tn2e8-t_tab \
918 tests/pr/tn2e8o3-t_tab \
919 tests/pr/tn_2e8-t_tab \
920 tests/pr/tn_2e8S-t_tab \
921 tests/pr/tne8-t_tab \
922 tests/pr/tne8o3-t_tab \
923 tests/pr/tt-0FF \
924 tests/pr/tt-FF \
925 tests/pr/tt-bl \
926 tests/pr/tt-t \
927 tests/pr/tta3-0FF \
928 tests/pr/tta3-FF \
929 tests/pr/ttb3-0FF \
930 tests/pr/ttb3-FF \
931 tests/pr/w72l24f-ll
933 $(TEST_LOGS): $(PROGRAMS)