diff --git a/tests/envdir-url.t b/tests/envdir-url.t index 9d1ea02b..991e060a 100755 --- a/tests/envdir-url.t +++ b/tests/envdir-url.t @@ -24,26 +24,26 @@ Files are populated from NEXTSTRAIN_ENVD_URL. $ aws s3 cp --quiet env.d.zip "$NEXTSTRAIN_ENVD_URL" - $ docker run --rm -e NEXTSTRAIN_ENVD_URL --env=AWS_{ACCESS_KEY_ID,SECRET_ACCESS_KEY,SESSION_TOKEN} "$IMAGE" \ + $ docker run --rm -e NEXTSTRAIN_ENVD_URL --env=AWS_{ACCESS_KEY_ID,SECRET_ACCESS_KEY,SESSION_TOKEN,DEFAULT_REGION} "$IMAGE" \ > bash -eu -c 'echo "$a"; echo "$b"' download: s3://nextstrain-tmp/*.zip to ../env.d.zip (glob) Archive: /nextstrain/env.d.zip - extracting: /nextstrain/env.d/a - inflating: /nextstrain/env.d/b - extracting: /nextstrain/env.d/z + extracting: /nextstrain/env.d/a + inflating: /nextstrain/env.d/b + extracting: /nextstrain/env.d/z removed '/nextstrain/env.d.zip' AAAA BB BB BB Files and NEXTSTRAIN_ENVD_URL are removed with NEXTSTRAIN_DELETE_ENVD=1. - $ docker run --rm -e NEXTSTRAIN_DELETE_ENVD=1 -e NEXTSTRAIN_ENVD_URL --env=AWS_{ACCESS_KEY_ID,SECRET_ACCESS_KEY,SESSION_TOKEN} "$IMAGE" \ + $ docker run --rm -e NEXTSTRAIN_DELETE_ENVD=1 -e NEXTSTRAIN_ENVD_URL --env=AWS_{ACCESS_KEY_ID,SECRET_ACCESS_KEY,SESSION_TOKEN,DEFAULT_REGION} "$IMAGE" \ > bash -eu -c 'echo "$a"; echo "$b"; ls -1 /nextstrain/env.d' download: s3://nextstrain-tmp/*.zip to ../env.d.zip (glob) Archive: /nextstrain/env.d.zip - extracting: /nextstrain/env.d/a - inflating: /nextstrain/env.d/b - extracting: /nextstrain/env.d/z + extracting: /nextstrain/env.d/a + inflating: /nextstrain/env.d/b + extracting: /nextstrain/env.d/z removed '/nextstrain/env.d.zip' delete: s3://nextstrain-tmp/*.zip (glob) AAAA