]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove extraneous code from test
authorPádraig Brady <P@draigBrady.com>
Mon, 9 Feb 2026 11:28:03 +0000 (11:28 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 9 Feb 2026 11:32:57 +0000 (11:32 +0000)
* tests/misc/usage_vs_refs.sh: Remove copy and paste slop.
* tests/local.mk: Fix indentation.

tests/local.mk
tests/misc/usage_vs_refs.sh

index b7ed37c50b9bc8105fea085e446465f7711a20e9..5f9f3d19b640e376dba0d6215314a8904d5528f9 100644 (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                            \
index 6e5a43f2185fd0501c4ddbc3814abb004a25414b..e112f04b34db93deba3826bf014b25775bcd6aac 100755 (executable)
@@ -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