Now that it accepts https and http both, we need the test suite to
recognize either is valid.
... | ... |
@@ -556,7 +556,7 @@ if have_wget: |
556 | 556 |
## ====== sign |
557 | 557 |
test_s3cmd("sign string", ['sign', 's3cmd'], must_find_re = ["Signature:"]) |
558 | 558 |
test_s3cmd("signurl time", ['signurl', '%s/copy/etc2/Logo.PNG' % pbucket(2), str(int(time.time()) + 60)], must_find_re = ["http://"]) |
559 |
-test_s3cmd("signurl time offset", ['signurl', '%s/copy/etc2/Logo.PNG' % pbucket(2), '+60'], must_find_re = ["http://"]) |
|
559 |
+test_s3cmd("signurl time offset", ['signurl', '%s/copy/etc2/Logo.PNG' % pbucket(2), '+60'], must_find_re = ["https?://"]) |
|
560 | 560 |
|
561 | 561 |
## ====== Rename within S3 |
562 | 562 |
test_s3cmd("Rename within S3", ['mv', '%s/copy/etc2/Logo.PNG' % pbucket(2), '%s/copy/etc/logo.png' % pbucket(2)], |