From: Pádraig Brady Date: Mon, 9 Feb 2026 11:28:03 +0000 (+0000) Subject: maint: remove extraneous code from test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1317074513d301279497c9a4b9978dd8568dd9d7;p=thirdparty%2Fcoreutils.git maint: remove extraneous code from test * tests/misc/usage_vs_refs.sh: Remove copy and paste slop. * tests/local.mk: Fix indentation. --- diff --git a/tests/local.mk b/tests/local.mk index b7ed37c50b..5f9f3d19b6 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -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 \ diff --git a/tests/misc/usage_vs_refs.sh b/tests/misc/usage_vs_refs.sh index 6e5a43f218..e112f04b34 100755 --- a/tests/misc/usage_vs_refs.sh +++ b/tests/misc/usage_vs_refs.sh @@ -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