diff --git a/images/build-integration/lib/darwin/run.sh b/images/build-integration/lib/darwin/run.sh index 4665cca7f5..d8346eacf1 100755 --- a/images/build-integration/lib/darwin/run.sh +++ b/images/build-integration/lib/darwin/run.sh @@ -32,14 +32,14 @@ done mkdir -p $targetFolder/results # Run tests -PATH="$PATH:${HOME}/$targetFolder/bin" -PULL_SECRET_PATH="${HOME}/$targetFolder/pull-secret" +export PATH="$PATH:${HOME}/$targetFolder/bin" +export PULL_SECRET_PATH="${HOME}/$targetFolder/pull-secret" if [ ! -z "$bundleLocation" ] then - BUNDLE_PATH="$bundleLocation" + export BUNDLE_PATH="$bundleLocation" fi cd $targetFolder/bin -. integration.test > integration.results +./integration.test > integration.results # Copy results cd .. diff --git a/images/build-integration/lib/linux/run.sh b/images/build-integration/lib/linux/run.sh index 4665cca7f5..d8346eacf1 100755 --- a/images/build-integration/lib/linux/run.sh +++ b/images/build-integration/lib/linux/run.sh @@ -32,14 +32,14 @@ done mkdir -p $targetFolder/results # Run tests -PATH="$PATH:${HOME}/$targetFolder/bin" -PULL_SECRET_PATH="${HOME}/$targetFolder/pull-secret" +export PATH="$PATH:${HOME}/$targetFolder/bin" +export PULL_SECRET_PATH="${HOME}/$targetFolder/pull-secret" if [ ! -z "$bundleLocation" ] then - BUNDLE_PATH="$bundleLocation" + export BUNDLE_PATH="$bundleLocation" fi cd $targetFolder/bin -. integration.test > integration.results +./integration.test > integration.results # Copy results cd ..