From c039c2b968029a84f2554f1c28cd738aa28b730a Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 27 Mar 2008 17:19:42 +0000 Subject: 2008-03-27 Frank Ch. Eigler * systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash. --- testsuite/systemtap.base/cmd_parse.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuite/systemtap.base/cmd_parse.exp') diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp index cf15698f..ff347a9d 100644 --- a/testsuite/systemtap.base/cmd_parse.exp +++ b/testsuite/systemtap.base/cmd_parse.exp @@ -56,7 +56,8 @@ expect { wait #stap -c '(((a=42+7)); echo "The answer is $a")' -e 'probe begin {}' -spawn stap -c {(((a=42+7)); echo "The answer is $a")} -e {probe begin {}} +# NB: not ((a=42+7)) - must not assume bash +spawn stap -c {(a=49; echo "The answer is $a")} -e {probe begin {}} expect { -timeout 60 "The answer is 49" {pass "cmd_parse6"} -- cgit