]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: move test scripts from tests/ts/misc to dedicated subdir
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Sun, 18 Jan 2026 17:22:36 +0000 (12:22 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 29 Jan 2026 12:32:33 +0000 (07:32 -0500)
commitd692c75b8315c5546e3d19772e4fe5e6b326fd90
tree84b0d5f54248391b3b82965c61d56ba67bdd7555
parent02ff631527f2e1a7b166c786e1900928a393d983
tests: move test scripts from tests/ts/misc to dedicated subdir

This patch moves the test scripts in tests/ts/misc to subdirs
in tests/ts for each util-linux tool. It keeps the directory
structure consistent and allows to extend testing for each tool
individually. It also lays the groundwork for the test coverage
report helper script tools/testcoverage.sh.

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
140 files changed:
tests/expected/bits/bits [moved from tests/expected/misc/bits with 100% similarity]
tests/expected/bits/bits-and [moved from tests/expected/misc/bits-and with 100% similarity]
tests/expected/bits/bits-and.err [moved from tests/expected/misc/line with 100% similarity]
tests/expected/bits/bits-and.exit_code [moved from tests/expected/misc/mountpoint with 100% similarity]
tests/expected/bits/bits-binary [moved from tests/expected/misc/bits-binary with 100% similarity]
tests/expected/bits/bits-binary.err [new file with mode: 0644]
tests/expected/bits/bits-binary.exit_code [new file with mode: 0644]
tests/expected/bits/bits-default [moved from tests/expected/misc/bits-default with 100% similarity]
tests/expected/bits/bits-default.err [new file with mode: 0644]
tests/expected/bits/bits-default.exit_code [new file with mode: 0644]
tests/expected/bits/bits-grouped-mask [moved from tests/expected/misc/bits-grouped-mask with 100% similarity]
tests/expected/bits/bits-grouped-mask.err [new file with mode: 0644]
tests/expected/bits/bits-grouped-mask.exit_code [new file with mode: 0644]
tests/expected/bits/bits-list [moved from tests/expected/misc/bits-list with 100% similarity]
tests/expected/bits/bits-list.err [new file with mode: 0644]
tests/expected/bits/bits-list.exit_code [new file with mode: 0644]
tests/expected/bits/bits-mask [moved from tests/expected/misc/bits-mask with 100% similarity]
tests/expected/bits/bits-mask.err [new file with mode: 0644]
tests/expected/bits/bits-mask.exit_code [new file with mode: 0644]
tests/expected/bits/bits-not [moved from tests/expected/misc/bits-not with 100% similarity]
tests/expected/bits/bits-not.err [new file with mode: 0644]
tests/expected/bits/bits-not.exit_code [new file with mode: 0644]
tests/expected/bits/bits-or [moved from tests/expected/misc/bits-or with 100% similarity]
tests/expected/bits/bits-or.err [new file with mode: 0644]
tests/expected/bits/bits-or.exit_code [new file with mode: 0644]
tests/expected/bits/bits-parse-grouped-mask [moved from tests/expected/misc/bits-parse-grouped-mask with 100% similarity]
tests/expected/bits/bits-parse-grouped-mask.err [new file with mode: 0644]
tests/expected/bits/bits-parse-grouped-mask.exit_code [new file with mode: 0644]
tests/expected/bits/bits-parse-mask [moved from tests/expected/misc/bits-parse-mask with 100% similarity]
tests/expected/bits/bits-parse-mask.err [new file with mode: 0644]
tests/expected/bits/bits-parse-mask.exit_code [new file with mode: 0644]
tests/expected/bits/bits-parse-range [moved from tests/expected/misc/bits-parse-range with 100% similarity]
tests/expected/bits/bits-parse-range.err [new file with mode: 0644]
tests/expected/bits/bits-parse-range.exit_code [new file with mode: 0644]
tests/expected/bits/bits-stdin [moved from tests/expected/misc/bits-stdin with 100% similarity]
tests/expected/bits/bits-stdin.err [new file with mode: 0644]
tests/expected/bits/bits-stdin.exit_code [new file with mode: 0644]
tests/expected/bits/bits-truncate [moved from tests/expected/misc/bits-truncate with 100% similarity]
tests/expected/bits/bits-truncate.err [new file with mode: 0644]
tests/expected/bits/bits-truncate.exit_code [new file with mode: 0644]
tests/expected/bits/bits-width [moved from tests/expected/misc/bits-width with 100% similarity]
tests/expected/bits/bits-width-truncate [moved from tests/expected/misc/bits-width-truncate with 100% similarity]
tests/expected/bits/bits-width-truncate.err [new file with mode: 0644]
tests/expected/bits/bits-width-truncate.exit_code [new file with mode: 0644]
tests/expected/bits/bits-width.err [new file with mode: 0644]
tests/expected/bits/bits-width.exit_code [new file with mode: 0644]
tests/expected/bits/bits-xor [moved from tests/expected/misc/bits-xor with 100% similarity]
tests/expected/bits/bits-xor.err [new file with mode: 0644]
tests/expected/bits/bits-xor.exit_code [new file with mode: 0644]
tests/expected/bits/bits.err [new file with mode: 0644]
tests/expected/bits/bits.exit_code [new file with mode: 0644]
tests/expected/enosys/enosys-basic [moved from tests/expected/misc/enosys-basic with 100% similarity]
tests/expected/enosys/enosys-exec [moved from tests/expected/misc/enosys-exec with 100% similarity]
tests/expected/enosys/enosys-ioctl [moved from tests/expected/misc/enosys-ioctl with 100% similarity]
tests/expected/fallocate/fallocate-alloc [moved from tests/expected/misc/fallocate-alloc with 100% similarity]
tests/expected/fallocate/fallocate-dig-holes [moved from tests/expected/misc/fallocate-dig-holes with 100% similarity]
tests/expected/fallocate/fallocate-report-data-holes [moved from tests/expected/misc/fallocate-report-data-holes with 100% similarity]
tests/expected/fallocate/fallocate-report-file-holes [moved from tests/expected/misc/fallocate-report-file-holes with 100% similarity]
tests/expected/flock/flock [moved from tests/expected/misc/flock with 100% similarity]
tests/expected/flock/flock-exclusive [moved from tests/expected/misc/flock-exclusive with 100% similarity]
tests/expected/flock/flock-fcntl-exclusive [moved from tests/expected/misc/flock-fcntl-exclusive with 100% similarity]
tests/expected/flock/flock-fcntl-fd [moved from tests/expected/misc/flock-fcntl-fd with 100% similarity]
tests/expected/flock/flock-fcntl-no-fork [moved from tests/expected/misc/flock-fcntl-no-fork with 100% similarity]
tests/expected/flock/flock-fcntl-non-block [moved from tests/expected/misc/flock-fcntl-non-block with 100% similarity]
tests/expected/flock/flock-fcntl-shared [moved from tests/expected/misc/flock-fcntl-shared with 100% similarity]
tests/expected/flock/flock-fcntl-time-check [moved from tests/expected/misc/flock-fcntl-time-check with 100% similarity]
tests/expected/flock/flock-fcntl-timeout [moved from tests/expected/misc/flock-fcntl-timeout with 100% similarity]
tests/expected/flock/flock-fcntl-vs-flock [moved from tests/expected/misc/flock-fcntl-vs-flock with 100% similarity]
tests/expected/flock/flock-fd [moved from tests/expected/misc/flock-fd with 100% similarity]
tests/expected/flock/flock-no-fork [moved from tests/expected/misc/flock-no-fork with 100% similarity]
tests/expected/flock/flock-non-block [moved from tests/expected/misc/flock-non-block with 100% similarity]
tests/expected/flock/flock-shared [moved from tests/expected/misc/flock-shared with 100% similarity]
tests/expected/flock/flock-time-check [moved from tests/expected/misc/flock-time-check with 100% similarity]
tests/expected/flock/flock-timeout [moved from tests/expected/misc/flock-timeout with 100% similarity]
tests/expected/flock/lockfile [new file with mode: 0644]
tests/expected/flock/range-lock copy [new file with mode: 0644]
tests/expected/ionice/ionice [moved from tests/expected/misc/ionice with 100% similarity]
tests/expected/ionice/ionice.err [moved from tests/expected/misc/ionice.err with 100% similarity]
tests/expected/line/line [new file with mode: 0644]
tests/expected/line/line-empty-input [moved from tests/expected/misc/line-empty-input with 100% similarity]
tests/expected/line/line-empty-input-wait-for-eof [moved from tests/expected/misc/line-empty-input-wait-for-eof with 100% similarity]
tests/expected/line/line-large-line [moved from tests/expected/misc/line-large-line with 100% similarity]
tests/expected/line/line-one-call [moved from tests/expected/misc/line-one-call with 100% similarity]
tests/expected/line/line-text-without-eol [moved from tests/expected/misc/line-text-without-eol with 100% similarity]
tests/expected/line/line-two-calls [moved from tests/expected/misc/line-two-calls with 100% similarity]
tests/expected/line/line-wait-for-eof [moved from tests/expected/misc/line-wait-for-eof with 100% similarity]
tests/expected/lsclocks/lsclocks-basic [moved from tests/expected/misc/lsclocks-basic with 100% similarity]
tests/expected/lsclocks/lsclocks-cpu [moved from tests/expected/misc/lsclocks-cpu with 100% similarity]
tests/expected/lsclocks/lsclocks-dynamic [moved from tests/expected/misc/lsclocks-dynamic with 100% similarity]
tests/expected/lsclocks/lsclocks-rtc [moved from tests/expected/misc/lsclocks-rtc with 100% similarity]
tests/expected/lsclocks/lsclocks-time [moved from tests/expected/misc/lsclocks-time with 100% similarity]
tests/expected/mcookie/mcookie [moved from tests/expected/misc/mcookie with 100% similarity]
tests/expected/mcookie/mcookie.err [new file with mode: 0644]
tests/expected/mcookie/mcookie.exit_code [new file with mode: 0644]
tests/expected/misc/flock-fcntl [deleted file]
tests/expected/mountpoint/mountpoint [new file with mode: 0644]
tests/expected/mountpoint/mountpoint-default [moved from tests/expected/misc/mountpoint-default with 100% similarity]
tests/expected/mountpoint/mountpoint-mutually-exclusive [moved from tests/expected/misc/mountpoint-mutually-exclusive with 100% similarity]
tests/expected/mountpoint/mountpoint-mutually-exclusive.err [moved from tests/expected/misc/mountpoint-mutually-exclusive.err with 100% similarity]
tests/expected/mountpoint/mountpoint-nofollow [moved from tests/expected/misc/mountpoint-nofollow with 100% similarity]
tests/expected/pipesz/pipesz-exec [moved from tests/expected/misc/pipesz-exec with 100% similarity]
tests/expected/pipesz/pipesz-get-fd [moved from tests/expected/misc/pipesz-get-fd with 100% similarity]
tests/expected/pipesz/pipesz-get-fd-bad.err [moved from tests/expected/misc/pipesz-get-fd-bad.err with 100% similarity]
tests/expected/pipesz/pipesz-get-file [moved from tests/expected/misc/pipesz-get-file with 100% similarity]
tests/expected/pipesz/pipesz-get-file-bad.err [moved from tests/expected/misc/pipesz-get-file-bad.err with 100% similarity]
tests/expected/pipesz/pipesz-set-fd-bad.err [moved from tests/expected/misc/pipesz-set-fd-bad.err with 100% similarity]
tests/expected/pipesz/pipesz-set-file-bad.err [moved from tests/expected/misc/pipesz-set-file-bad.err with 100% similarity]
tests/expected/rev/rev [moved from tests/expected/misc/rev with 100% similarity]
tests/expected/setarch/setarch-options [moved from tests/expected/misc/setarch-options with 100% similarity]
tests/expected/setarch/setarch-options.err [moved from tests/expected/misc/setarch-options.err with 100% similarity]
tests/expected/setarch/setarch-show [moved from tests/expected/misc/setarch-show with 100% similarity]
tests/expected/setarch/setarch-uname26 [moved from tests/expected/misc/setarch-uname26 with 100% similarity]
tests/expected/setarch/setarch-uname26-version [moved from tests/expected/misc/setarch-uname26-version with 100% similarity]
tests/expected/setpgid/setpgid [moved from tests/expected/misc/setpgid with 100% similarity]
tests/expected/setsid/setsid [moved from tests/expected/misc/setsid with 100% similarity]
tests/expected/swaplabel/swaplabel [moved from tests/expected/misc/swaplabel with 100% similarity]
tests/expected/swaplabel/swaplabel.err [moved from tests/expected/misc/swaplabel.err with 100% similarity]
tests/expected/waitpid/waitpid-count [moved from tests/expected/misc/waitpid-count with 100% similarity]
tests/expected/waitpid/waitpid-count.err [moved from tests/expected/misc/waitpid-count.err with 100% similarity]
tests/expected/waitpid/waitpid-exited.err [moved from tests/expected/misc/waitpid-exited.err with 100% similarity]
tests/expected/waitpid/waitpid-normal [moved from tests/expected/misc/waitpid-normal with 100% similarity]
tests/expected/waitpid/waitpid-timeout [moved from tests/expected/misc/waitpid-timeout with 100% similarity]
tests/expected/whereis/whereis [moved from tests/expected/misc/whereis with 100% similarity]
tests/ts/bits/bits [moved from tests/ts/misc/bits with 100% similarity]
tests/ts/enosys/enosys [moved from tests/ts/misc/enosys with 100% similarity]
tests/ts/fallocate/fallocate [moved from tests/ts/misc/fallocate with 100% similarity]
tests/ts/flock/flock [moved from tests/ts/misc/flock with 100% similarity]
tests/ts/ionice/ionice [moved from tests/ts/misc/ionice with 100% similarity]
tests/ts/line/line [moved from tests/ts/misc/line with 100% similarity]
tests/ts/lsclocks/lsclocks [moved from tests/ts/misc/lsclocks with 100% similarity]
tests/ts/mcookie/mcookie [moved from tests/ts/misc/mcookie with 100% similarity]
tests/ts/mountpoint/mountpoint [moved from tests/ts/misc/mountpoint with 100% similarity]
tests/ts/pipesz/pipesz [moved from tests/ts/misc/pipesz with 100% similarity]
tests/ts/rev/rev [moved from tests/ts/misc/rev with 100% similarity]
tests/ts/setarch/setarch [moved from tests/ts/misc/setarch with 100% similarity]
tests/ts/setpgid/setpgid [moved from tests/ts/misc/setpgid with 100% similarity]
tests/ts/setsid/setsid [moved from tests/ts/misc/setsid with 100% similarity]
tests/ts/swaplabel/swaplabel [moved from tests/ts/misc/swaplabel with 100% similarity]
tests/ts/waitpid/waitpid [moved from tests/ts/misc/waitpid with 100% similarity]
tests/ts/whereis/whereis [moved from tests/ts/misc/whereis with 100% similarity]