summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaymala Sinha <jsinha@chef.io>2019-04-08 09:32:15 -0400
committerTim Smith <tsmith@chef.io>2019-04-08 10:18:01 -0700
commit544064873245ee10a3abb35259a86da06ddabb09 (patch)
treeac5cc585af351ddf52fcd8b95879887ece0f0794
parent72b8898a4311e639a1fecd5666fd9e513e83f541 (diff)
downloadchef-544064873245ee10a3abb35259a86da06ddabb09.tar.gz
Add PROJECT_NAME to omnibus-test scripts
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
-rw-r--r--omnibus/omnibus-test.ps11
-rw-r--r--omnibus/omnibus-test.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/omnibus/omnibus-test.ps1 b/omnibus/omnibus-test.ps1
index 15f522c480..a0a0adadef 100644
--- a/omnibus/omnibus-test.ps1
+++ b/omnibus/omnibus-test.ps1
@@ -30,6 +30,7 @@ Start-Process "$package_file" /quiet -Wait
Write-Output "--- Testing $channel $product $version"
$Env:PATH = "C:\opscode\chef\bin;${Env:PATH}"
+$Env:PROJECT_NAME = $product
Write-Output "Running verification for $product"
diff --git a/omnibus/omnibus-test.sh b/omnibus/omnibus-test.sh
index 981dc808f0..c0c1797be7 100644
--- a/omnibus/omnibus-test.sh
+++ b/omnibus/omnibus-test.sh
@@ -15,6 +15,7 @@ echo "--- Testing $channel $product $version"
export INSTALL_DIR=/opt/chef
export PATH="/opt/chef/bin:$PATH"
+export PROJECT_NAME=$product
echo "Verifying ownership of package files"