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