From b71f3f5359e3dc851a00cef1187d80036fb9c501 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Wed, 3 Nov 2021 23:28:48 -0700 Subject: [PATCH] Fix fg test. Now to figure out why 'ninja test' seems to silently skip the interactive tests here (pexpect is installed). --- tests/pexpects/fg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pexpects/fg.py b/tests/pexpects/fg.py index 043d94130..61cfa28b6 100644 --- a/tests/pexpects/fg.py +++ b/tests/pexpects/fg.py @@ -33,7 +33,7 @@ expect_str("bar") expect_prompt() sendline("fg") -expect_str("Send job 1, (" + testproc + ") to foreground") +expect_str("Send job 1 '" + testproc + "' to foreground") sleep(0.2) sendline("set -l foo bar; echo $foo") expect_str("") @@ -66,7 +66,7 @@ sendline("jobs") expect_prompt("jobs: There are no jobs") # Ensure we can do it again. -sendline("sleep 4") +sendline("sleep 4 ") sleep(0.2) send("\x1A") sleep(0.1)