tests: Refine the last change.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 2 Nov 2023 02:31:03 +0000 (19:31 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 2 Nov 2023 02:58:30 +0000 (19:58 -0700)
The remaining failures might be attributable to journal file creation
errors.

tests/ui/terminal/main.at

index e62eefd3d865f00415f57f4a516d7bfc1de13fd7..41bbf58cde2c1c05ee670d7686ab948492a111f9 100644 (file)
@@ -77,8 +77,7 @@ AT_SETUP([interactive output appears immediately])
 dnl This uses concatenation with + so that just printing the
 dnl command itself doesn't make "text string" appear in the
 dnl output.
-AT_CHECK([(echo 'ECHO "text"+" "+"string".'; sleep 10) | PSPP_INTERACTIVE=1 pspp & sleep 1; kill $!], [0], [stdout])
-cat stdout
+AT_CHECK([(echo 'ECHO "text"+" "+"string".'; sleep 10) | XDG_STATE_HOME=$PWD PSPP_INTERACTIVE=1 pspp & sleep 1; kill $!], [0], [stdout])
 AT_CHECK([grep 'text string' stdout], [0], [text string
 ])
 AT_CLEANUP