diff --git a/test/run-e2e-ocp.sh b/test/run-e2e-ocp.sh index 79263dee..7f276741 100755 --- a/test/run-e2e-ocp.sh +++ b/test/run-e2e-ocp.sh @@ -54,7 +54,7 @@ install_obo() { enable_ocp() { # Get ObO CSV json file CSV_NAME=$(oc -n "$OPERATORS_NS" get sub observability-operator -o jsonpath='{.status.installedCSV}') - CSV_JSON_FILE=$(mktemp /tmp/"$CSV_NAME".json) + CSV_JSON_FILE=$(mktemp /tmp/"$CSV_NAME"XXXXXX.json) if [ -e "$CSV_JSON_FILE" ]; then rm -f "$CSV_JSON_FILE" fi