Browse code

tests: modify command doesn't need --acl-public anymore

The modify command now preserves the original ACL, so we don't need to
specify --acl-public anymore to have it have the proper ACL.

Matt Domsch authored on 2014/12/07 12:15:10
Showing 1 changed files
... ...
@@ -489,14 +489,14 @@ test_s3cmd("Verify ACL and MIME type", ['info', '%s/copy/etc2/Logo.PNG' % pbucke
489 489
                      "URL:.*http://%s.%s/copy/etc2/Logo.PNG" % (bucket(2), cfg.host_base) ])
490 490
 
491 491
 ## ====== modify MIME type
492
-test_s3cmd("Modify MIME type", ['modify', '--acl-public', '--mime-type=binary/octet-stream', '%s/copy/etc2/Logo.PNG' % pbucket(2) ])
492
+test_s3cmd("Modify MIME type", ['modify', '--mime-type=binary/octet-stream', '%s/copy/etc2/Logo.PNG' % pbucket(2) ])
493 493
 
494 494
 test_s3cmd("Verify ACL and MIME type", ['info', '%s/copy/etc2/Logo.PNG' % pbucket(2) ],
495 495
     must_find_re = [ "MIME type:.*binary/octet-stream",
496 496
                      "ACL:.*\*anon\*: READ",
497 497
                      "URL:.*http://%s.%s/copy/etc2/Logo.PNG" % (bucket(2), cfg.host_base) ])
498 498
 
499
-test_s3cmd("Modify MIME type back", ['modify', '--acl-public', '--mime-type=image/png', '%s/copy/etc2/Logo.PNG' % pbucket(2) ])
499
+test_s3cmd("Modify MIME type back", ['modify', '--mime-type=image/png', '%s/copy/etc2/Logo.PNG' % pbucket(2) ])
500 500
 
501 501
 test_s3cmd("Verify ACL and MIME type", ['info', '%s/copy/etc2/Logo.PNG' % pbucket(2) ],
502 502
     must_find_re = [ "MIME type:.*image/png",