From d77349ce500a05bd6eaa3fd1f1aa1ad8a782afad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 16 Nov 2022 11:54:52 +0100 Subject: [PATCH] Fix for upstream bug --- tests/basic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic.sh b/tests/basic.sh index 7964be2..3eeb103 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -15,7 +15,7 @@ oneTimeTearDown() { # runs one-time teardown two times # see https://github.com/kward/shunit2/issues/112 [ -f "$DB_FILE" ] && rm "$DB_FILE" - rm "$FILENAME" + [ -f "$FILENAME" ] && rm "$FILENAME" } testDbCreated() {