aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-03-07 17:30:46 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-03-07 17:32:07 +0100
commitc00b2c9948bc686a5f33805a5cc4295c933a723a (patch)
tree673e072bd51397686daf82fd527b2e03f534daa8 /script
parent8df1e186decdfcc2e59512acda5c09b8162b7b64 (diff)
downloadgarage-c00b2c9948bc686a5f33805a5cc4295c933a723a.tar.gz
garage-c00b2c9948bc686a5f33805a5cc4295c933a723a.zip
Functional tests for admin commandstests/port-integration
Diffstat (limited to 'script')
-rwxr-xr-xscript/test-smoke.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/script/test-smoke.sh b/script/test-smoke.sh
index 53415775..bb939d35 100755
--- a/script/test-smoke.sh
+++ b/script/test-smoke.sh
@@ -143,21 +143,6 @@ fi
rm /tmp/garage.{1..3}.{rnd,b64}
-if [ -z "$SKIP_AWS" ]; then
- echo "🪣 Test bucket logic "
- AWS_ACCESS_KEY_ID=`cat /tmp/garage.s3 |cut -d' ' -f1`
- [ $(aws s3 ls | wc -l) == 1 ]
- garage -c /tmp/config.1.toml bucket create seau
- garage -c /tmp/config.1.toml bucket allow --read seau --key $AWS_ACCESS_KEY_ID
- [ $(aws s3 ls | wc -l) == 2 ]
- garage -c /tmp/config.1.toml bucket deny --read seau --key $AWS_ACCESS_KEY_ID
- [ $(aws s3 ls | wc -l) == 1 ]
- garage -c /tmp/config.1.toml bucket allow --read seau --key $AWS_ACCESS_KEY_ID
- [ $(aws s3 ls | wc -l) == 2 ]
- garage -c /tmp/config.1.toml bucket delete --yes seau
- [ $(aws s3 ls | wc -l) == 1 ]
-fi
-
echo "🏁 Teardown"
AWS_ACCESS_KEY_ID=`cat /tmp/garage.s3 |cut -d' ' -f1`
AWS_SECRET_ACCESS_KEY=`cat /tmp/garage.s3 |cut -d' ' -f2`