]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix false failure with pr -COLS
authorPádraig Brady <P@draigBrady.com>
Thu, 22 Jan 2026 11:55:51 +0000 (11:55 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 22 Jan 2026 11:56:50 +0000 (11:56 +0000)
* tests/misc/usage_vs_getopt.sh: Fix false failure induced
by commit v9.9-239-ga06f0cf67

tests/misc/usage_vs_getopt.sh

index 65b2d0c3f84b2ed272b9ffcddad1956c7eaef4b6..46e45fac3e4e80aca1e5f8d6f40cc42f477fecd1 100755 (executable)
@@ -70,7 +70,7 @@ checkprg () {
       # Else $prg should have complained about a missing argument.
       # Catch false positives.
       case "$prg/$opt" in
-        'pr/-COLUMN') continue;;
+        'pr/-COLS') continue;;
       esac
       # Replace $opt in stderr output by the neutral placeholder.
       # Handle both long and short option error messages.