From 7b32099aad3c9710c2915a58c198900f3d18ddcd Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 9 Apr 2026 15:33:37 -0400 Subject: [PATCH] Suppress errors from 'rm' trying to remove non-existing file Suppress all of the following type of error messages by passing -f to 'rm' when running sign_verify.test. rm: cannot remove '': No such file or directory Signed-off-by: Stefan Berger --- tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functions.sh b/tests/functions.sh index bbab7f2d..0d7b5f32 100755 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -229,7 +229,7 @@ _evmctl_run() { sed 's/^/ /' "$out" fi color_restore - rm "$out" "$ADD_DEL" + rm -f "$out" "$ADD_DEL" ADD_DEL= ADD_TEXT_FOR= return "$FAIL"