From: Christian Goeschel Ndjomouo Date: Thu, 29 Jan 2026 05:58:16 +0000 (-0500) Subject: tests: (waitpid) use long options to improve test coverage report X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b69477bf4f864db72d0230b6b6bb55e942f802;p=thirdparty%2Futil-linux.git tests: (waitpid) use long options to improve test coverage report Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/tests/ts/misc/waitpid b/tests/ts/misc/waitpid index 904222c05..ee97e5406 100755 --- a/tests/ts/misc/waitpid +++ b/tests/ts/misc/waitpid @@ -39,12 +39,12 @@ echo 4 >> "$TS_OUTPUT" ts_finalize_subtest ts_init_subtest timeout -"$TS_CMD_WAITPID" -v -t 0.1 1 >> "$TS_OUTPUT" 2>> "$TS_ERRLOG" +"$TS_CMD_WAITPID" --verbose --timeout 0.1 1 >> "$TS_OUTPUT" 2>> "$TS_ERRLOG" echo $? >> "$TS_OUTPUT" ts_finalize_subtest ts_init_subtest exited -"$TS_CMD_WAITPID" -v -e 2147483647 >> "$TS_OUTPUT" 2>> "$TS_ERRLOG" +"$TS_CMD_WAITPID" --verbose --exited 2147483647 >> "$TS_OUTPUT" 2>> "$TS_ERRLOG" echo $? >> "$TS_ERRLOG" ts_finalize_subtest @@ -52,7 +52,7 @@ ts_init_subtest count (sleep 0.2; echo 1 >> "$TS_OUTPUT") & BG1="$!" -"$TS_CMD_WAITPID" -c 1 1 "$BG1" >> "$TS_OUTPUT" 2>> "$TS_ERRLOG" +"$TS_CMD_WAITPID" --count 1 1 "$BG1" >> "$TS_OUTPUT" 2>> "$TS_ERRLOG" echo $? >> "$TS_ERRLOG" ts_finalize_subtest