From 85b69477bf4f864db72d0230b6b6bb55e942f802 Mon Sep 17 00:00:00 2001 From: Christian Goeschel Ndjomouo Date: Thu, 29 Jan 2026 00:58:16 -0500 Subject: [PATCH] tests: (waitpid) use long options to improve test coverage report Signed-off-by: Christian Goeschel Ndjomouo --- tests/ts/misc/waitpid | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ts/misc/waitpid b/tests/ts/misc/waitpid index 904222c054..ee97e54066 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 -- 2.47.3