summaryrefslogtreecommitdiff
path: root/omnibus/omnibus-test.sh
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-12-13 00:13:58 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-12-13 00:13:58 -0800
commit41f924b185c2a14f34c0ebf25864a89b2291c77a (patch)
treeb190d383d3c4f2b15e396608ea5b3b971d195706 /omnibus/omnibus-test.sh
parent9e855c5e91697db393bc28ddeefdc7b5ead49924 (diff)
downloadchef-41f924b185c2a14f34c0ebf25864a89b2291c77a.tar.gz
omnibus tests need to accept the license
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'omnibus/omnibus-test.sh')
-rw-r--r--omnibus/omnibus-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/omnibus/omnibus-test.sh b/omnibus/omnibus-test.sh
index 66114e005c..d5d5959e12 100644
--- a/omnibus/omnibus-test.sh
+++ b/omnibus/omnibus-test.sh
@@ -152,6 +152,9 @@ elif [[ -d /usr/local/etc/sudoers.d ]]; then
sudo chmod 440 "/usr/local/etc/sudoers.d/$(id -un)-preserve_path"
fi
+# accept license
+CHEF_LICENSE=accept-no-persist
+
cd "$chef_gem"
sudo -E bundle install
# NOTE: we have unit tests in chef/chef which ARE NOT unit tests. We need to run them on the actual shipping production artifact on the