From: Christian Goeschel Ndjomouo Date: Thu, 22 Jan 2026 02:51:22 +0000 (-0500) Subject: tests: (getopt) use long options to improve test coverage report X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026288003ca0096494caaa01806f85260b885571;p=thirdparty%2Futil-linux.git tests: (getopt) use long options to improve test coverage report Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/tests/ts/getopt/options b/tests/ts/getopt/options index b245b329d1..deabb372f8 100755 --- a/tests/ts/getopt/options +++ b/tests/ts/getopt/options @@ -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