aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts/test-no-error-reports.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/scripts/test-no-error-reports.sh')
-rwxr-xr-x.github/scripts/test-no-error-reports.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/.github/scripts/test-no-error-reports.sh b/.github/scripts/test-no-error-reports.sh
deleted file mode 100755
index 84c1e5d650..0000000000
--- a/.github/scripts/test-no-error-reports.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-
-RUNDIR="run"
-CRASH="crash-reports"
-SERVERLOG="server.log"
-
-if [[ -d $RUNDIR/$CRASH ]]; then
- echo "Crash reports detected:"
- cat $RUNDIR/$CRASH/crash*.txt
- exit 1
-fi
-
-if grep --quiet "Fatal errors were detected" $SERVERLOG; then
- echo "Fatal errors detected:"
- cat server.log
- exit 1
-fi
-
-if grep --quiet "The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED" $SERVERLOG; then
- echo "Server force stopped:"
- cat server.log
- exit 1
-fi
-
-if ! grep --quiet -Po '.+Done \(.+\)\! For help, type "help" or "\?"' $SERVERLOG; then
- echo "Server didn't finish startup:"
- cat server.log
- exit 1
-fi
-
-echo "No crash reports detected"
-exit 0
-