Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: shellcheck lint
Browse files Browse the repository at this point in the history
R1kaB3rN committed Dec 25, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent e62c88c commit f858f82
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_flock.sh
Original file line number Diff line number Diff line change
@@ -16,15 +16,12 @@ wait
grep "exited with wait status" "$tmp1"

# Ensure the 2nd proc didn't download the runtime
grep "\(latest\), please wait..." "$tmp2"
if [ $? -ne 0 ]; then
if ! grep "\(latest\), please wait..." "$tmp2"; then
exit 1
fi

grep "exited with wait status" "$tmp2"

# Ensure the 2nd proc didn't download Proton
grep "Downloading" "$tmp2"
if [ $? -ne 0 ]; then
if ! grep "exited with wait status" "$tmp2"; then
exit 1
fi

0 comments on commit f858f82

Please sign in to comment.