Skip to content
Browse files

use Autotest-3, not autotest-3

  • Loading branch information...
1 parent e3d232e commit 2895644cd3518f46913e1b7c49bcfd7553f161da @redsymbol redsymbol committed
Showing with 5 additions and 2 deletions.
  1. +5 −2 run-tests.py
View
7 run-tests.py
@@ -210,7 +210,10 @@ def test_flushdir(label, dir_name):
# helper functions for generating bucket names
def bucket(tail):
'''Test bucket name'''
- return '%ss3cmd-autotest-%s' % (bucket_prefix, tail)
+ label = 'autotest'
+ if str(tail) == '3':
+ label = 'Autotest'
+ return '%ss3cmd-%s-%s' % (bucket_prefix, label, tail)
def pbucket(tail):
'''Like bucket(), but prepends "s3://" for you'''
return 's3://' + bucket(tail)
@@ -242,7 +245,7 @@ def pbucket(tail):
## ====== Buckets list
test_s3cmd("Buckets list", ["ls"],
- must_find = [ "autotest-1", "autotest-2", "autotest-3" ], must_not_find_re = "autotest-EU")
+ must_find = [ "autotest-1", "autotest-2", "Autotest-3" ], must_not_find_re = "autotest-EU")
## ====== Sync to S3

0 comments on commit 2895644

Please sign in to comment.
Something went wrong with that request. Please try again.