[functional-tests] fix up some tests.

This commit is contained in:
Joe Thornber
2017-09-20 17:13:03 +01:00
parent 5814fea96a
commit 7079b1ec9e
3 changed files with 13 additions and 10 deletions

View File

@@ -170,7 +170,7 @@
(with-empty-metadata (md)
(receive (stdout stderr) (run-fail "era_restore" "--quiet" "-i" bad-xml "-o" md)
(assert-eof stdout)
(assert-eof stderr)))))
(assert-starts-with "Couldn't stat file" stderr)))))
(define-scenario (era-restore q-fail)
"No output with --q(failing)"
@@ -178,7 +178,7 @@
(with-empty-metadata (md)
(receive (stdout stderr) (run-fail "era_restore" "-q" "-i" bad-xml "-o" md)
(assert-eof stdout)
(assert-eof stderr)))))
(assert-starts-with "Couldn't stat file" stderr)))))
(define-scenario (era-dump restore-is-noop)
"era_dump followed by era_restore is a noop."