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