From 233738d50ac9218ec7c36513c1abc49fc5b15cf2 Mon Sep 17 00:00:00 2001 From: slama Date: Sun, 25 Mar 2018 14:24:23 +0900 Subject: [PATCH] forget to set error message to the test with wait command in fish script. --- tests/wait.expect | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/wait.expect b/tests/wait.expect index 9e40ed458..b033a2d72 100644 --- a/tests/wait.expect +++ b/tests/wait.expect @@ -176,6 +176,8 @@ send_line "jobs" expect_prompt "jobs: There are no jobs" {} unmatched { puts stderr $error_msg } # test with fish script +set error_msg "test with fish script: Fail" + send_line "fish -c 'sleep 2 &; sleep 1 &; wait \$last_pid; jobs | wc -l'" expect "1" {} timeout { puts stderr $error_msg } expect_prompt