diff options
-rw-r--r-- | acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb | 2 | ||||
-rwxr-xr-x | ci/verify-chef.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb b/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb index f125d70953..05c1331744 100644 --- a/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +++ b/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb @@ -1,5 +1,5 @@ chef_version = ENV["KITCHEN_CHEF_VERSION"].split("+")[0] describe command("chef-client -v") do its("exit_status") { should eq 0 } - its(:stdout) { should match /Chef: #{chef_version}/ } + its(:stdout) { should match /Chef: #{chef_version}/ } if chef_version != "latest" end diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh index 074a110134..0c8ca768f7 100755 --- a/ci/verify-chef.sh +++ b/ci/verify-chef.sh @@ -86,7 +86,7 @@ if [ "x$ACCEPTANCE" != "x" ]; then # Test against the vendored Chef gem cd /opt/$PROJECT_NAME/embedded/lib/ruby/gems/*/gems/chef-[0-9]*/acceptance sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID ARTIFACTORY_USERNAME=$ARTIFACTORY_USERNAME ARTIFACTORY_PASSWORD=$ARTIFACTORY_PASSWORD bundle install - sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID ARTIFACTORY_USERNAME=$ARTIFACTORY_USERNAME ARTIFACTORY_PASSWORD=$ARTIFACTORY_PASSWORD KITCHEN_DRIVER=ec2 bundle exec chef-acceptance test cookbook-git + sudo env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID ARTIFACTORY_USERNAME=$ARTIFACTORY_USERNAME ARTIFACTORY_PASSWORD=$ARTIFACTORY_PASSWORD KITCHEN_DRIVER=ec2 bundle exec chef-acceptance test else PATH=/opt/$PROJECT_NAME/bin:/opt/$PROJECT_NAME/embedded/bin:$PATH export PATH |