From da242e0befd5e3339a4e41e7790485af83e80036 Mon Sep 17 00:00:00 2001 From: Reactor Scram Date: Fri, 23 Feb 2024 14:11:50 -0600 Subject: [PATCH] fix(gui-client): remove duplicated script (#3745) This was moved up to the main `/scripts/tests` dir and combined with some other automated tests, so this is redundant now. Due to a merge conflict or some small oversight I accidentally left the original file in place too. --- .../scripts/crash-handling-smoke-test.bash | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 rust/gui-client/scripts/crash-handling-smoke-test.bash diff --git a/rust/gui-client/scripts/crash-handling-smoke-test.bash b/rust/gui-client/scripts/crash-handling-smoke-test.bash deleted file mode 100644 index ad8a5d2fa..000000000 --- a/rust/gui-client/scripts/crash-handling-smoke-test.bash +++ /dev/null @@ -1,16 +0,0 @@ -# This script must run from an elevated shell so that Firezone won't try to elevate - -set -euo pipefail - -BUNDLE_ID="dev.firezone.client" -DUMP_PATH="$LOCALAPPDATA/$BUNDLE_ID/data/logs/last_crash.dmp" - -# Delete the crash file if present -rm -f "$DUMP_PATH" - -# Ignore the exit code, this is supposed to crash -cargo run -p firezone-gui-client -- --crash || true - -# Fail if the crash file wasn't written -stat "$DUMP_PATH" -rm "$DUMP_PATH"