From 8ccc772b8d8dc539644bbc6ad90eda83b5a58d8a Mon Sep 17 00:00:00 2001 From: Beni Cherniavsky-Paskin Date: Sun, 31 Dec 2017 17:25:31 +0200 Subject: [PATCH] upcase var --- .../openshift/container_manager/test_objects_record.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/vcr_cassettes/manageiq/providers/openshift/container_manager/test_objects_record.sh b/spec/vcr_cassettes/manageiq/providers/openshift/container_manager/test_objects_record.sh index 37f40970..ac9fdd8f 100755 --- a/spec/vcr_cassettes/manageiq/providers/openshift/container_manager/test_objects_record.sh +++ b/spec/vcr_cassettes/manageiq/providers/openshift/container_manager/test_objects_record.sh @@ -35,13 +35,13 @@ while oc get --show-all projects | grep my-project; do sleep 3 done -for ind in 0 1 2; do - oc new-project my-project-$ind - oc project my-project-$ind +for IND in 0 1 2; do + oc new-project my-project-$IND + oc project my-project-$IND # Some objects here require the admin priviledges we got above. - oc process -f "$VCR_DIR"/test_objects_template.yml -v INDEX=$ind | oc create -f - + oc process -f "$VCR_DIR"/test_objects_template.yml -v INDEX=$IND | oc create -f - - oc start-build my-build-config-$ind + oc start-build my-build-config-$IND done while OUT="$(oc get build --all-namespaces)"; echo "$OUT"; [ "$(echo "$OUT" | egrep --count --word 'Complete|Failed|Error')" -ne 3 ]; do