Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 3dada74

Browse files
committed
ci/openshift-ci: Remove the expected results file before the loop
To avoid using pre-existing file ensure it's not present by deleting it. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
1 parent e0dd2af commit 3dada74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/openshift-ci/run_smoke_test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ else
5757
fi
5858

5959
info "Wait for the HTTP server to respond"
60+
rm -f hello_msg.txt
6061
waitForProcess 60 1 "curl '${host}:${port}${hello_file}' -s -o hello_msg.txt"
6162

6263
grep "${hello_msg}" hello_msg.txt > /dev/null

0 commit comments

Comments
 (0)