tests: move tests to a directory per utility
commit15925d0e5b80467c354fe27cb1205d6b6e3da11d
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 11 Jun 2023 09:55:56 +0000 (11 11:55 +0200)
committerPádraig Brady <P@draigBrady.com>
Mon, 19 Jun 2023 12:12:37 +0000 (19 13:12 +0100)
tree7af143f1a9ca7a71cb037fffc50dd69468ba059b
parentd53190ed46a55f599800ebb2d8ddfe38205dbd24
tests: move tests to a directory per utility

* cfg.mk: Adjust syntax check exclusion paths.
* tests/local.mk: Adjust for renamed tests.
204 files changed:
cfg.mk
tests/cat/cat-E.sh [moved from tests/misc/cat-E.sh with 100% similarity]
tests/cat/cat-buf.sh [moved from tests/misc/cat-buf.sh with 100% similarity]
tests/cat/cat-proc.sh [moved from tests/misc/cat-proc.sh with 100% similarity]
tests/cat/cat-self.sh [moved from tests/misc/cat-self.sh with 100% similarity]
tests/chcon/chcon-fail.sh [moved from tests/misc/chcon-fail.sh with 100% similarity]
tests/chcon/chcon.sh [moved from tests/misc/chcon.sh with 100% similarity]
tests/chroot/chroot-credentials.sh [moved from tests/misc/chroot-credentials.sh with 100% similarity]
tests/chroot/chroot-fail.sh [moved from tests/misc/chroot-fail.sh with 100% similarity]
tests/cksum/b2sum.sh [moved from tests/misc/b2sum.sh with 100% similarity]
tests/cksum/cksum-a.sh [moved from tests/misc/cksum-a.sh with 100% similarity]
tests/cksum/cksum-base64.pl [moved from tests/misc/cksum-base64.pl with 100% similarity]
tests/cksum/cksum-c.sh [moved from tests/misc/cksum-c.sh with 100% similarity]
tests/cksum/cksum-raw.sh [moved from tests/misc/cksum-raw.sh with 100% similarity]
tests/cksum/cksum.sh [moved from tests/misc/cksum.sh with 100% similarity]
tests/cksum/md5sum-bsd.sh [moved from tests/misc/md5sum-bsd.sh with 100% similarity]
tests/cksum/md5sum-newline.pl [moved from tests/misc/md5sum-newline.pl with 100% similarity]
tests/cksum/md5sum-parallel.sh [moved from tests/misc/md5sum-parallel.sh with 100% similarity]
tests/cksum/md5sum.pl [moved from tests/misc/md5sum.pl with 100% similarity]
tests/cksum/sha1sum-vec.pl [moved from tests/misc/sha1sum-vec.pl with 100% similarity]
tests/cksum/sha1sum.pl [moved from tests/misc/sha1sum.pl with 100% similarity]
tests/cksum/sha224sum.pl [moved from tests/misc/sha224sum.pl with 100% similarity]
tests/cksum/sha256sum.pl [moved from tests/misc/sha256sum.pl with 100% similarity]
tests/cksum/sha384sum.pl [moved from tests/misc/sha384sum.pl with 100% similarity]
tests/cksum/sha512sum.pl [moved from tests/misc/sha512sum.pl with 100% similarity]
tests/cksum/sm3sum.pl [moved from tests/misc/sm3sum.pl with 100% similarity]
tests/cksum/sum-sysv.sh [moved from tests/misc/sum-sysv.sh with 100% similarity]
tests/cksum/sum.pl [moved from tests/misc/sum.pl with 100% similarity]
tests/csplit/csplit-1000.sh [moved from tests/misc/csplit-1000.sh with 100% similarity]
tests/csplit/csplit-heap.sh [moved from tests/misc/csplit-heap.sh with 100% similarity]
tests/csplit/csplit-io-err.sh [moved from tests/misc/csplit-io-err.sh with 100% similarity]
tests/csplit/csplit-suppress-matched.pl [moved from tests/misc/csplit-suppress-matched.pl with 100% similarity]
tests/csplit/csplit.sh [moved from tests/misc/csplit.sh with 100% similarity]
tests/cut/cut-huge-range.sh [moved from tests/misc/cut-huge-range.sh with 100% similarity]
tests/cut/cut.pl [moved from tests/misc/cut.pl with 100% similarity]
tests/date/date-debug.sh [moved from tests/misc/date-debug.sh with 100% similarity]
tests/date/date-next-dow.pl [moved from tests/misc/date-next-dow.pl with 100% similarity]
tests/date/date-sec.sh [moved from tests/misc/date-sec.sh with 100% similarity]
tests/date/date-tz.sh [moved from tests/misc/date-tz.sh with 100% similarity]
tests/date/date.pl [moved from tests/misc/date.pl with 100% similarity]
tests/env/env-S-script.sh [moved from tests/misc/env-S-script.sh with 100% similarity]
tests/env/env-S.pl [moved from tests/misc/env-S.pl with 100% similarity]
tests/env/env-null.sh [moved from tests/misc/env-null.sh with 100% similarity]
tests/env/env-signal-handler.sh [moved from tests/misc/env-signal-handler.sh with 100% similarity]
tests/env/env.sh [moved from tests/misc/env.sh with 100% similarity]
tests/expr/expr-multibyte.pl [moved from tests/misc/expr-multibyte.pl with 100% similarity]
tests/expr/expr.pl [moved from tests/misc/expr.pl with 100% similarity]
tests/factor/factor-parallel.sh [moved from tests/misc/factor-parallel.sh with 100% similarity]
tests/factor/factor.pl [moved from tests/misc/factor.pl with 100% similarity]
tests/groups/groups-dash.sh [moved from tests/misc/groups-dash.sh with 100% similarity]
tests/groups/groups-process-all.sh [moved from tests/misc/groups-process-all.sh with 100% similarity]
tests/groups/groups-version.sh [moved from tests/misc/groups-version.sh with 100% similarity]
tests/head/head-c.sh [moved from tests/misc/head-c.sh with 100% similarity]
tests/head/head-elide-tail.pl [moved from tests/misc/head-elide-tail.pl with 100% similarity]
tests/head/head-pos.sh [moved from tests/misc/head-pos.sh with 100% similarity]
tests/head/head-write-error.sh [moved from tests/misc/head-write-error.sh with 100% similarity]
tests/head/head.pl [moved from tests/misc/head.pl with 100% similarity]
tests/help/help-version-getopt.sh [moved from tests/misc/help-version-getopt.sh with 100% similarity]
tests/help/help-version.sh [moved from tests/misc/help-version.sh with 100% similarity]
tests/local.mk
tests/ls/ls-misc.pl [moved from tests/misc/ls-misc.pl with 100% similarity]
tests/ls/ls-time.sh [moved from tests/misc/ls-time.sh with 100% similarity]
tests/misc/pathchk.sh [moved from tests/misc/pathchk1.sh with 100% similarity]
tests/nice/nice-fail.sh [moved from tests/misc/nice-fail.sh with 100% similarity]
tests/nice/nice.sh [moved from tests/misc/nice.sh with 100% similarity]
tests/nproc/nproc-avail.sh [moved from tests/misc/nproc-avail.sh with 100% similarity]
tests/nproc/nproc-override.sh [moved from tests/misc/nproc-override.sh with 100% similarity]
tests/nproc/nproc-positive.sh [moved from tests/misc/nproc-positive.sh with 100% similarity]
tests/od/od-N.sh [moved from tests/misc/od-N.sh with 100% similarity]
tests/od/od-endian.sh [moved from tests/misc/od-endian.sh with 100% similarity]
tests/od/od-float.sh [moved from tests/misc/od-float.sh with 100% similarity]
tests/od/od-j.sh [moved from tests/misc/od-j.sh with 100% similarity]
tests/od/od-multiple-t.sh [moved from tests/misc/od-multiple-t.sh with 100% similarity]
tests/od/od-x8.sh [moved from tests/misc/od-x8.sh with 100% similarity]
tests/od/od.pl [moved from tests/misc/od.pl with 100% similarity]
tests/printf/printf-cov.pl [moved from tests/misc/printf-cov.pl with 100% similarity]
tests/printf/printf-hex.sh [moved from tests/misc/printf-hex.sh with 100% similarity]
tests/printf/printf-mb.sh [moved from tests/misc/printf-mb.sh with 100% similarity]
tests/printf/printf-quote.sh [moved from tests/misc/printf-quote.sh with 100% similarity]
tests/printf/printf-surprise.sh [moved from tests/misc/printf-surprise.sh with 100% similarity]
tests/printf/printf.sh [moved from tests/misc/printf.sh with 100% similarity]
tests/ptx/ptx-overrun.sh [moved from tests/misc/ptx-overrun.sh with 100% similarity]
tests/ptx/ptx.pl [moved from tests/misc/ptx.pl with 100% similarity]
tests/pwd/pwd-long.sh [moved from tests/misc/pwd-long.sh with 100% similarity]
tests/pwd/pwd-option.sh [moved from tests/misc/pwd-option.sh with 100% similarity]
tests/readlink/readlink-fp-loop.sh [moved from tests/misc/readlink-fp-loop.sh with 100% similarity]
tests/readlink/readlink-root.sh [moved from tests/misc/readlink-root.sh with 100% similarity]
tests/runcon/runcon-compute.sh [moved from tests/misc/runcon-compute.sh with 100% similarity]
tests/runcon/runcon-no-reorder.sh [moved from tests/misc/runcon-no-reorder.sh with 100% similarity]
tests/seq/seq-epipe.sh [moved from tests/misc/seq-epipe.sh with 100% similarity]
tests/seq/seq-extra-number.sh [moved from tests/misc/seq-extra-number.sh with 100% similarity]
tests/seq/seq-io-errors.sh [moved from tests/misc/seq-io-errors.sh with 100% similarity]
tests/seq/seq-locale.sh [moved from tests/misc/seq-locale.sh with 100% similarity]
tests/seq/seq-long-double.sh [moved from tests/misc/seq-long-double.sh with 100% similarity]
tests/seq/seq-precision.sh [moved from tests/misc/seq-precision.sh with 100% similarity]
tests/seq/seq.pl [moved from tests/misc/seq.pl with 100% similarity]
tests/shred/shred-exact.sh [moved from tests/misc/shred-exact.sh with 100% similarity]
tests/shred/shred-passes.sh [moved from tests/misc/shred-passes.sh with 100% similarity]
tests/shred/shred-remove.sh [moved from tests/misc/shred-remove.sh with 100% similarity]
tests/shred/shred-size.sh [moved from tests/misc/shred-size.sh with 100% similarity]
tests/shuf/shuf-reservoir.sh [moved from tests/misc/shuf-reservoir.sh with 100% similarity]
tests/shuf/shuf.sh [moved from tests/misc/shuf.sh with 100% similarity]
tests/sort/sort-NaN-infloop.sh [moved from tests/misc/sort-NaN-infloop.sh with 100% similarity]
tests/sort/sort-benchmark-random.sh [moved from tests/misc/sort-benchmark-random.sh with 100% similarity]
tests/sort/sort-compress-hang.sh [moved from tests/misc/sort-compress-hang.sh with 100% similarity]
tests/sort/sort-compress-proc.sh [moved from tests/misc/sort-compress-proc.sh with 100% similarity]
tests/sort/sort-compress.sh [moved from tests/misc/sort-compress.sh with 100% similarity]
tests/sort/sort-continue.sh [moved from tests/misc/sort-continue.sh with 100% similarity]
tests/sort/sort-debug-keys.sh [moved from tests/misc/sort-debug-keys.sh with 100% similarity]
tests/sort/sort-debug-warn.sh [moved from tests/misc/sort-debug-warn.sh with 100% similarity]
tests/sort/sort-discrim.sh [moved from tests/misc/sort-discrim.sh with 100% similarity]
tests/sort/sort-exit-early.sh [moved from tests/misc/sort-exit-early.sh with 100% similarity]
tests/sort/sort-files0-from.pl [moved from tests/misc/sort-files0-from.pl with 100% similarity]
tests/sort/sort-float.sh [moved from tests/misc/sort-float.sh with 100% similarity]
tests/sort/sort-h-thousands-sep.sh [moved from tests/misc/sort-h-thousands-sep.sh with 100% similarity]
tests/sort/sort-merge-fdlimit.sh [moved from tests/misc/sort-merge-fdlimit.sh with 100% similarity]
tests/sort/sort-merge.pl [moved from tests/misc/sort-merge.pl with 100% similarity]
tests/sort/sort-month.sh [moved from tests/misc/sort-month.sh with 100% similarity]
tests/sort/sort-rand.sh [moved from tests/misc/sort-rand.sh with 100% similarity]
tests/sort/sort-spinlock-abuse.sh [moved from tests/misc/sort-spinlock-abuse.sh with 100% similarity]
tests/sort/sort-stale-thread-mem.sh [moved from tests/misc/sort-stale-thread-mem.sh with 100% similarity]
tests/sort/sort-u-FMR.sh [moved from tests/misc/sort-u-FMR.sh with 100% similarity]
tests/sort/sort-unique-segv.sh [moved from tests/misc/sort-unique-segv.sh with 100% similarity]
tests/sort/sort-unique.sh [moved from tests/misc/sort-unique.sh with 100% similarity]
tests/sort/sort-version.sh [moved from tests/misc/sort-version.sh with 100% similarity]
tests/sort/sort.pl [moved from tests/misc/sort.pl with 100% similarity]
tests/stat/stat-birthtime.sh [moved from tests/misc/stat-birthtime.sh with 100% similarity]
tests/stat/stat-fmt.sh [moved from tests/misc/stat-fmt.sh with 100% similarity]
tests/stat/stat-hyphen.sh [moved from tests/misc/stat-hyphen.sh with 100% similarity]
tests/stat/stat-mount.sh [moved from tests/misc/stat-mount.sh with 100% similarity]
tests/stat/stat-nanoseconds.sh [moved from tests/misc/stat-nanoseconds.sh with 100% similarity]
tests/stat/stat-printf.pl [moved from tests/misc/stat-printf.pl with 100% similarity]
tests/stat/stat-slash.sh [moved from tests/misc/stat-slash.sh with 100% similarity]
tests/stty/stty-invalid.sh [moved from tests/misc/stty-invalid.sh with 100% similarity]
tests/stty/stty-pairs.sh [moved from tests/misc/stty-pairs.sh with 100% similarity]
tests/stty/stty-row-col.sh [moved from tests/misc/stty-row-col.sh with 100% similarity]
tests/stty/stty.sh [moved from tests/misc/stty.sh with 100% similarity]
tests/tac/tac-2-nonseekable.sh [moved from tests/misc/tac-2-nonseekable.sh with 100% similarity]
tests/tac/tac-continue.sh [moved from tests/misc/tac-continue.sh with 100% similarity]
tests/tac/tac.pl [moved from tests/misc/tac.pl with 100% similarity]
tests/tail/F-headers.sh [moved from tests/tail-2/F-headers.sh with 100% similarity]
tests/tail/F-vs-missing.sh [moved from tests/tail-2/F-vs-missing.sh with 100% similarity]
tests/tail/F-vs-rename.sh [moved from tests/tail-2/F-vs-rename.sh with 100% similarity]
tests/tail/append-only.sh [moved from tests/tail-2/append-only.sh with 100% similarity]
tests/tail/assert-2.sh [moved from tests/tail-2/assert-2.sh with 100% similarity]
tests/tail/assert.sh [moved from tests/tail-2/assert.sh with 100% similarity]
tests/tail/big-4gb.sh [moved from tests/tail-2/big-4gb.sh with 100% similarity]
tests/tail/descriptor-vs-rename.sh [moved from tests/tail-2/descriptor-vs-rename.sh with 100% similarity]
tests/tail/end-of-device.sh [moved from tests/tail-2/end-of-device.sh with 100% similarity]
tests/tail/flush-initial.sh [moved from tests/tail-2/flush-initial.sh with 100% similarity]
tests/tail/follow-name.sh [moved from tests/tail-2/follow-name.sh with 100% similarity]
tests/tail/follow-stdin.sh [moved from tests/tail-2/follow-stdin.sh with 100% similarity]
tests/tail/inotify-dir-recreate.sh [moved from tests/tail-2/inotify-dir-recreate.sh with 100% similarity]
tests/tail/inotify-hash-abuse.sh [moved from tests/tail-2/inotify-hash-abuse.sh with 100% similarity]
tests/tail/inotify-hash-abuse2.sh [moved from tests/tail-2/inotify-hash-abuse2.sh with 100% similarity]
tests/tail/inotify-only-regular.sh [moved from tests/tail-2/inotify-only-regular.sh with 100% similarity]
tests/tail/inotify-race.sh [moved from tests/tail-2/inotify-race.sh with 100% similarity]
tests/tail/inotify-race2.sh [moved from tests/tail-2/inotify-race2.sh with 100% similarity]
tests/tail/inotify-rotate-resources.sh [moved from tests/tail-2/inotify-rotate-resources.sh with 100% similarity]
tests/tail/inotify-rotate.sh [moved from tests/tail-2/inotify-rotate.sh with 100% similarity]
tests/tail/overlay-headers.sh [moved from tests/tail-2/overlay-headers.sh with 100% similarity]
tests/tail/pid.sh [moved from tests/tail-2/pid.sh with 100% similarity]
tests/tail/pipe-f.sh [moved from tests/tail-2/pipe-f.sh with 100% similarity]
tests/tail/pipe-f2.sh [moved from tests/tail-2/pipe-f2.sh with 100% similarity]
tests/tail/proc-ksyms.sh [moved from tests/tail-2/proc-ksyms.sh with 100% similarity]
tests/tail/retry.sh [moved from tests/tail-2/retry.sh with 100% similarity]
tests/tail/start-middle.sh [moved from tests/tail-2/start-middle.sh with 100% similarity]
tests/tail/symlink.sh [moved from tests/tail-2/symlink.sh with 100% similarity]
tests/tail/tail-c.sh [moved from tests/tail-2/tail-c.sh with 100% similarity]
tests/tail/tail-n0f.sh [moved from tests/tail-2/tail-n0f.sh with 100% similarity]
tests/tail/tail.pl [moved from tests/misc/tail.pl with 100% similarity]
tests/tail/truncate.sh [moved from tests/tail-2/truncate.sh with 100% similarity]
tests/tail/wait.sh [moved from tests/tail-2/wait.sh with 100% similarity]
tests/test/test-N.sh [moved from tests/misc/test-N.sh with 100% similarity]
tests/test/test-diag.pl [moved from tests/misc/test-diag.pl with 100% similarity]
tests/test/test.pl [moved from tests/misc/test.pl with 100% similarity]
tests/timeout/timeout-blocked.pl [moved from tests/misc/timeout-blocked.pl with 100% similarity]
tests/timeout/timeout-group.sh [moved from tests/misc/timeout-group.sh with 100% similarity]
tests/timeout/timeout-large-parameters.sh [moved from tests/misc/timeout-large-parameters.sh with 100% similarity]
tests/timeout/timeout-parameters.sh [moved from tests/misc/timeout-parameters.sh with 100% similarity]
tests/timeout/timeout.sh [moved from tests/misc/timeout.sh with 100% similarity]
tests/tr/tr-case-class.sh [moved from tests/misc/tr-case-class.sh with 100% similarity]
tests/tr/tr.pl [moved from tests/misc/tr.pl with 100% similarity]
tests/truncate/truncate-dangling-symlink.sh [moved from tests/misc/truncate-dangling-symlink.sh with 100% similarity]
tests/truncate/truncate-dir-fail.sh [moved from tests/misc/truncate-dir-fail.sh with 100% similarity]
tests/truncate/truncate-fail-diag.sh [moved from tests/misc/truncate-fail-diag.sh with 100% similarity]
tests/truncate/truncate-fifo.sh [moved from tests/misc/truncate-fifo.sh with 100% similarity]
tests/truncate/truncate-no-create-missing.sh [moved from tests/misc/truncate-no-create-missing.sh with 100% similarity]
tests/truncate/truncate-overflow.sh [moved from tests/misc/truncate-overflow.sh with 100% similarity]
tests/truncate/truncate-owned-by-other.sh [moved from tests/misc/truncate-owned-by-other.sh with 100% similarity]
tests/truncate/truncate-parameters.sh [moved from tests/misc/truncate-parameters.sh with 100% similarity]
tests/truncate/truncate-relative.sh [moved from tests/misc/truncate-relative.sh with 100% similarity]
tests/tty/tty-eof.pl [moved from tests/misc/tty-eof.pl with 100% similarity]
tests/tty/tty.sh [moved from tests/misc/tty.sh with 100% similarity]
tests/uniq/uniq-collate.sh [moved from tests/misc/uniq-collate.sh with 100% similarity]
tests/uniq/uniq-perf.sh [moved from tests/misc/uniq-perf.sh with 100% similarity]
tests/uniq/uniq.pl [moved from tests/misc/uniq.pl with 100% similarity]
tests/wc/wc-files0-from.pl [moved from tests/misc/wc-files0-from.pl with 100% similarity]
tests/wc/wc-files0.sh [moved from tests/misc/wc-files0.sh with 100% similarity]
tests/wc/wc-nbsp.sh [moved from tests/misc/wc-nbsp.sh with 100% similarity]
tests/wc/wc-parallel.sh [moved from tests/misc/wc-parallel.sh with 100% similarity]
tests/wc/wc-proc.sh [moved from tests/misc/wc-proc.sh with 100% similarity]
tests/wc/wc-total.sh [moved from tests/misc/wc-total.sh with 100% similarity]
tests/wc/wc.pl [moved from tests/misc/wc.pl with 100% similarity]