acceptance-features/conjurenv/run.feature in conjur-cli-4.28.2 vs acceptance-features/conjurenv/run.feature in conjur-cli-4.29.0
- old
+ new
@@ -1,10 +1,10 @@
Feature: Run command in an environment populated from Conjur variables
Background:
Given I run `conjur variable create $ns/access_key ABCDEF`
And I run `conjur variable create $ns/secret_key XYZQWER`
+ And I reset the command list
Scenario:
- When I run `conjur env run --yaml '{ cloud_access_key: !var $ns/access_key , cloud_secret_key: !var $ns/secret_key }' -- printenv CLOUD_ACCESS_KEY CLOUD_SECRET_KEY`
- Then the stdout should contain "ABCDEF\nXYZQWER"
-
+ When I run `bash -c "conjur env run --yaml '{ cloud_access_key: !var $ns/access_key , cloud_secret_key: !var $ns/secret_key }' -- env | grep CLOUD_"`
+ Then the stdout should contain exactly "CLOUD_ACCESS_KEY=ABCDEF\nCLOUD_SECRET_KEY=XYZQWER"