tests: base: Fix the screendump test.
* gnu/tests/base.scm (run-basic-test): Look for the screendump capture where it has been saved, in the output directory.master
parent
98a62011b0
commit
d27e871ebb
|
@ -484,10 +484,11 @@ info --version")
|
|||
|
||||
(test-assert "screendump"
|
||||
(begin
|
||||
(marionette-control (string-append "screendump " #$output
|
||||
"/tty1.ppm")
|
||||
marionette)
|
||||
(file-exists? "tty1.ppm")))
|
||||
(let ((capture
|
||||
(string-append #$output "/tty1.ppm")))
|
||||
(marionette-control
|
||||
(string-append "screendump " capture) marionette)
|
||||
(file-exists? capture))))
|
||||
|
||||
(test-assert "screen text"
|
||||
(let ((text (marionette-screen-text marionette
|
||||
|
|
Reference in New Issue