Browse code

Fixes run-tests following the fix for https://github.com/s3tools/s3cmd/issues/600

Florent Viard authored on 2015/09/08 01:45:48
Showing 1 changed files
... ...
@@ -473,10 +473,9 @@ test_s3cmd("Sync more from S3 (invalid src)", ['sync', '--delete-removed', '%s/x
473 473
 
474 474
 ## ====== Sync more from S3
475 475
 test_s3cmd("Sync more from S3", ['sync', '--delete-removed', '%s/xyz' % pbucket(1), 'testsuite-out'],
476
-    must_find = [ "delete: 'testsuite-out/logo.png'",
477
-                  "'%s/xyz/etc2/Logo.PNG' -> 'testsuite-out/xyz/etc2/Logo.PNG'" % pbucket(1),
476
+    must_find = [ "'%s/xyz/etc2/Logo.PNG' -> 'testsuite-out/xyz/etc2/Logo.PNG'" % pbucket(1),
478 477
                   "'%s/xyz/demo/some-file.xml' -> 'testsuite-out/xyz/demo/some-file.xml'" % pbucket(1) ],
479
-    must_not_find_re = [ "not-deleted.*etc/logo.png" ])
478
+    must_not_find_re = [ "not-deleted.*etc/logo.png", "delete: 'testsuite-out/logo.png'" ])
480 479
 
481 480
 
482 481
 ## ====== Make dst dir for get