Skip to content
Snippets Groups Projects
Commit 373b88ce authored by Petr Rockai's avatar Petr Rockai
Browse files

test: Propagate the exit code of divcheck if it fails (useful for timeouts).

parent b3be8e34
No related branches found
No related tags found
No related merge requests found
......@@ -150,8 +150,7 @@ if test -n "$EXPORT"; then exit 0; fi
cat $dcscript | sed -e 's,^, | ,'
# Run divcheck with the script
divcheck $dcscript
if ! divcheck $dcscript; then exit $?; fi
err=$(grep "error found:" verify.out | cut -d' ' -f3- || true)
if [ "$err" = yes ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment