1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-10 01:12:02 +02:00

maint: remove extraneous code from test

* tests/misc/usage_vs_refs.sh: Remove copy and paste slop.
* tests/local.mk: Fix indentation.
This commit is contained in:
Pádraig Brady
2026-02-09 11:28:03 +00:00
parent 6bbf04db63
commit 1317074513
2 changed files with 3 additions and 6 deletions

View File

@@ -127,7 +127,7 @@ all_root_tests = \
tests/ls/no-cap.sh \
tests/ls/nameless-uid.sh \
tests/nproc/nproc-quota.sh \
tests/nproc/nproc-quota-systemd.sh \
tests/nproc/nproc-quota-systemd.sh \
tests/chcon/chcon.sh \
tests/chroot/chroot-credentials.sh \
tests/misc/selinux.sh \
@@ -523,7 +523,7 @@ all_tests = \
tests/chmod/thru-dangling.sh \
tests/chmod/umask-x.sh \
tests/chmod/usage.sh \
tests/chmod/symlinks.sh \
tests/chmod/symlinks.sh \
tests/chown/deref.sh \
tests/chown/preserve-root.sh \
tests/chown/separator.sh \
@@ -591,7 +591,7 @@ all_tests = \
tests/df/unreadable.sh \
tests/df/total-unprocessed.sh \
tests/df/no-mtab-status.sh \
tests/df/no-mtab-status-masked-proc.sh \
tests/df/no-mtab-status-masked-proc.sh \
tests/df/skip-duplicates.sh \
tests/df/skip-rootfs.sh \
tests/dd/ascii.sh \

View File

@@ -18,9 +18,6 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
# Currently only check short opts with corresponding long opt
shortopts() { getopts $1 | cut -s -d"'" -f2; }
longopts() { getopts $1 | cut -s -d'"' -f2; }
getopts() {
skip='--help|--version' # These refs treated specially