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