cr_tests: futex: Fix mktree usage in run.sh
PATCH 1/1 cr_tests: futex: Fix mktree usage in run.sh
Restore the pids since robust and pi futexes rely on the pids to determine which task has the futex. Also use --copy-status to ensure that the exit code from the restarted processes propagate to run.sh
Signed-off-by Matt Helsley <matthltc-r/[email protected]>
---
I believe this is the most important fix to get robust futex tests running properly via run.sh. I've actually got a whole series that tweaks run.sh but most of those are only beneficial if the tests fail at various stages.
futex/run.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
futex/run.sh +1 -1
@@ -61,7 +61,7 @@ for T in ${TESTS[@]} ; do fi # now try restarting - $MKTREE < checkpoint-$T + $MKTREE -p --copy-status < checkpoint-$T retval=$? echo "Restart of test ${T} done, returned $retval" if [ $retval -ne 0 ]; then
Signature · 1 line
1.5.6.3