Skip to content

Commit

Permalink
fix: mktemp command expects a template string that includes a minimum…
Browse files Browse the repository at this point in the history
… of six X characters on some os (#650)
  • Loading branch information
lihongyan1 authored Jan 3, 2025
1 parent 28ac1ba commit 21f303b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run-e2e-ocp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21f303b

Please sign in to comment.