diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-18 17:17:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 17:17:26 +0000 |
commit | 5e4d72943448d0e7ff5ea94c133e08fdaf0a5969 (patch) | |
tree | d8f32488e387734e7422dd6aa0094df3d72fd270 /test/buildah-bud/run-buildah-bud-tests | |
parent | d890c4d98edcd2ed6f5f26bb19ed2282cea1cb46 (diff) | |
parent | 1aafb01a9950c5d2c46278cf22488b9acfeaab00 (diff) | |
download | podman-5e4d72943448d0e7ff5ea94c133e08fdaf0a5969.tar.gz podman-5e4d72943448d0e7ff5ea94c133e08fdaf0a5969.tar.bz2 podman-5e4d72943448d0e7ff5ea94c133e08fdaf0a5969.zip |
Merge pull request #14890 from rhatdan/VENDOR
Vendor in containers/(storage,image, common, buildah)
Diffstat (limited to 'test/buildah-bud/run-buildah-bud-tests')
-rwxr-xr-x | test/buildah-bud/run-buildah-bud-tests | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/buildah-bud/run-buildah-bud-tests b/test/buildah-bud/run-buildah-bud-tests index 4ff062496..d0e2e3237 100755 --- a/test/buildah-bud/run-buildah-bud-tests +++ b/test/buildah-bud/run-buildah-bud-tests @@ -94,10 +94,13 @@ fi set -e # Run sudo early, to refresh the credentials cache. This is a NOP under CI, -# but might be appreciated by developers who run this script, step away +# but might be appreciated by developers who run this script, step away # during the git-checkout-buildah step, then come back twenty minutes later -# to an expired sudo prompt and no tests have run. -sudo --validate +# to an expired sudo prompt and no tests have run. (No need to do this +# for checkout; only when running tests) +if [[ -n $do_test ]]; then + sudo --validate +fi # Before pulling buildah (while still cd'ed to podman repo), try to determine # if this is a PR, and if so if it's a revendoring of buildah. We use this to |