Skip to content

Commit

Permalink
tests: update file lock test
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Dec 25, 2024
1 parent ea501ba commit a99db4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_flock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ grep "exited with wait status" "$tmp1" && grep -E "exited with wait status" "$tm
# Ensure the 2nd proc didn't download the runtime
grep -E "\(latest\), please wait..." "$tmp2"
exit_code=$?
if "$exit_code" != 0; then
if "$exit_code" -ne 0; then
exit 1
fi

# Ensure the 2nd proc didn't download Proton
grep "Downloading" "$tmp2"
exit_code=$?
if "$exit_code" != 0; then
if "$exit_code" -ne 0; then
exit 1
fi

0 comments on commit a99db4a

Please sign in to comment.