Browse code

Make the ls test tolerant to small changes in output

Satya authored on 2014/05/11 12:35:22
Showing 1 changed files
... ...
@@ -316,7 +316,7 @@ if have_encoding:
316 316
 
317 317
 ## ====== List bucket content
318 318
 test_s3cmd("List bucket content", ['ls', '%s/xyz/' % pbucket(1) ],
319
-    must_find_re = [ u"DIR   %s/xyz/binary/$" % pbucket(1) , u"DIR   %s/xyz/etc/$" % pbucket(1) ],
319
+    must_find_re = [ u"DIR +%s/xyz/binary/$" % pbucket(1) , u"DIR +%s/xyz/etc/$" % pbucket(1) ],
320 320
     must_not_find = [ u"random-crap.md5", u"/demo" ])
321 321
 
322 322