When printing the progress message, the file descriptor name
is '<stdin>'. Fix test suite to expect that name in output.
... | ... |
@@ -354,7 +354,7 @@ test_flushdir("Clean testsuite-out/", "testsuite-out") |
354 | 354 |
## ====== Put from stdin |
355 | 355 |
f = open('testsuite/single-file/single-file.txt', 'r') |
356 | 356 |
test_s3cmd("Put from stdin", ['put', '-', '%s/single-file/single-file.txt' % pbucket(1)], |
357 |
- must_find = ["'-' -> '%s/single-file/single-file.txt'" % pbucket(1)], |
|
357 |
+ must_find = ["'<stdin>' -> '%s/single-file/single-file.txt'" % pbucket(1)], |
|
358 | 358 |
stdin = f) |
359 | 359 |
f.close() |
360 | 360 |
|