From f49d68c43b9c635f6dace47fe8193f8125c89206 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 1 Nov 2023 19:31:03 -0700 Subject: [PATCH] tests: Refine the last change. The remaining failures might be attributable to journal file creation errors. --- tests/ui/terminal/main.at | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ui/terminal/main.at b/tests/ui/terminal/main.at index e62eefd3d8..41bbf58cde 100644 --- a/tests/ui/terminal/main.at +++ b/tests/ui/terminal/main.at @@ -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 -- 2.30.2