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 45b01dd commit 43a94b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_flock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ sleep 1
UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u 2> "$tmp2" &
wait

grep "exited with wait status" "$tmp1"
grep "exited with wait status" "$tmp1" && grep -E "exited with wait status" "$tmp2"

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

# Ensure the 2nd proc didn't download Proton
if ! grep "Downloading" "$tmp2"; then
if grep "Downloading" "$tmp2"; then
exit 1
fi

grep -E "exited with wait status" "$tmp2"

0 comments on commit 43a94b4

Please sign in to comment.