From c00b2c9948bc686a5f33805a5cc4295c933a723a Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 7 Mar 2022 17:30:46 +0100 Subject: Functional tests for admin commands --- script/test-smoke.sh | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'script/test-smoke.sh') 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` -- cgit v1.2.3