From 9d6b8e944abe47eb356fbb9022e9e5ca4a9f9077 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sun, 8 Dec 2024 10:08:07 -0800 Subject: [PATCH] tests: assert log statement of exit status - Ensures there were no errors between the resumption and launching the executable within the Steam Linux Runtime. --- tests/test_proton_resume.sh | 2 +- tests/test_resume.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_proton_resume.sh b/tests/test_proton_resume.sh index 80caad40e..f6f6f3475 100644 --- a/tests/test_proton_resume.sh +++ b/tests/test_proton_resume.sh @@ -10,4 +10,4 @@ curl -LJO --range 0-104857599 "$url" mkdir -p "$HOME"/.cache/umu mv "$name" "$HOME"/.cache/umu/"$name".parts UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u 2> "$tmp" -grep "resuming" "$tmp" +grep "resuming" "$tmp" && grep "exited with wait status" "$tmp" diff --git a/tests/test_resume.sh b/tests/test_resume.sh index 0856263b2..ecfa97ae2 100644 --- a/tests/test_resume.sh +++ b/tests/test_resume.sh @@ -10,4 +10,4 @@ mkdir -p "$HOME"/.cache/umu # Note: Must include the *.parts extension mv SteamLinuxRuntime_sniper.tar.xz "$HOME"/.cache/umu/SteamLinuxRuntime_sniper.tar.xz."$id".parts UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u 2> "$tmp" -grep "resuming" "$tmp" +grep "resuming" "$tmp" && grep "exited with wait status" "$tmp"