From f8548f699d8e5423b044d13c22ce7bb9f8ac3fa1 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:31:27 -0700 Subject: [PATCH] tests: shellcheck lint --- tests/test_config.sh | 2 +- tests/test_install.sh | 2 +- tests/test_update.sh | 8 ++++---- tests/test_winetricks.sh | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_config.sh b/tests/test_config.sh index 831508ebd..b81b5fd0b 100644 --- a/tests/test_config.sh +++ b/tests/test_config.sh @@ -16,4 +16,4 @@ launch_args = ['-u'] " >> "$tmp" -cd $HOME && UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" --config "$tmp" +UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" --config "$tmp" diff --git a/tests/test_install.sh b/tests/test_install.sh index c18b222ae..bab10e9af 100644 --- a/tests/test_install.sh +++ b/tests/test_install.sh @@ -1,3 +1,3 @@ #!/usr/bin/env sh -UMU_LOG=debug GAMEID=umu-0 $HOME/.local/bin/umu-run wineboot -u +UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u diff --git a/tests/test_update.sh b/tests/test_update.sh index eb4a0d142..a4b887441 100644 --- a/tests/test_update.sh +++ b/tests/test_update.sh @@ -1,10 +1,10 @@ #!/usr/bin/env sh -mkdir -p $HOME/.local/share/umu +mkdir -p "$HOME/.local/share/umu" curl -LJO "https://repo.steampowered.com/steamrt3/images/0.20240916.101795/SteamLinuxRuntime_sniper.tar.xz" tar xaf SteamLinuxRuntime_sniper.tar.xz -mv SteamLinuxRuntime_sniper/* $HOME/.local/share/umu -mv $HOME/.local/share/umu/_v2-entry-point $HOME/.local/share/umu/umu +mv SteamLinuxRuntime_sniper/* "$HOME/.local/share/umu" +mv "$HOME/.local/share/umu/_v2-entry-point" "$HOME/.local/share/umu/umu" -UMU_LOG=debug GAMEID=umu-0 $HOME/.local/bin/umu-run wineboot -u +UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u diff --git a/tests/test_winetricks.sh b/tests/test_winetricks.sh index c8a44fe23..02a23047d 100644 --- a/tests/test_winetricks.sh +++ b/tests/test_winetricks.sh @@ -1,3 +1,3 @@ #!/usr/bin/env sh -UMU_LOG=debug GAMEID=umu-0 $HOME/.local/bin/umu-run winetricks good +UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run winetricks" good