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