]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (getopt) use long options to improve test coverage report
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 22 Jan 2026 02:51:22 +0000 (21:51 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 29 Jan 2026 13:08:49 +0000 (08:08 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/ts/getopt/options

index b245b329d1bbffc04e8bbe29e199562bd5eda9d9..deabb372f8bf4e1a8bf43c1db56e31e774d99f5d 100755 (executable)
@@ -33,7 +33,7 @@ function gnu_getopt_clean() {
 }
 
 ts_init_subtest alternative_option_clash
-$TS_CMD_GETOPT -a -o abcde -l abcde -- -a -ab -abc -ac >> $TS_OUTPUT 2>> $TS_ERRLOG
+$TS_CMD_GETOPT -a --options abcde --longoptions abcde -- -a -ab -abc -ac >> $TS_OUTPUT 2>> $TS_ERRLOG
 echo "exit value: $?" >> $TS_OUTPUT
 gnu_getopt_clean
 ts_finalize_subtest