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() {