[functional-tests] Improve the (thin-delta unrecognised-option) test
This commit is contained in:
parent
4d3733d0e7
commit
738ab8391d
@ -326,5 +326,4 @@
|
||||
(receive (stdout stderr) (cache-metadata-size "--nr-blocks 67108864")
|
||||
(assert-equal "3678208 sectors" stdout)
|
||||
(assert-eof stderr)))
|
||||
|
||||
)
|
||||
)
|
||||
|
@ -28,7 +28,6 @@
|
||||
(logging)
|
||||
(process)
|
||||
(temp-file)
|
||||
(thin-xml)
|
||||
(utils)
|
||||
(srfi s8 receive))
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
(process)
|
||||
(scenario-string-constants)
|
||||
(temp-file)
|
||||
(thin-xml)
|
||||
(thin xml)
|
||||
(srfi s8 receive))
|
||||
|
||||
(define-tool thin-check)
|
||||
@ -253,7 +253,9 @@
|
||||
|
||||
(define-scenario (thin-delta unrecognised-option)
|
||||
"Unrecognised option should cause failure"
|
||||
(run-fail "thin_delta --unleash-the-hedgehogs"))
|
||||
(with-valid-metadata (md)
|
||||
(receive (stdout stderr) (run-fail "thin_delta --unleash-the-hedgehogs")
|
||||
(assert-starts-with "thin_delta: unrecognized option '--unleash-the-hedgehogs" stderr))))
|
||||
|
||||
(define-scenario (thin-delta snap1-unspecified)
|
||||
"Fails without --snap1 fails"
|
||||
|
Loading…
Reference in New Issue
Block a user