diff options
author | fche <fche> | 2008-03-27 17:19:42 +0000 |
---|---|---|
committer | fche <fche> | 2008-03-27 17:19:42 +0000 |
commit | c039c2b968029a84f2554f1c28cd738aa28b730a (patch) | |
tree | 5d9aade8d65166ed1885aed35e110dac40a5fe6d /testsuite/systemtap.base/cmd_parse.exp | |
parent | 0301cfe75d47bc8e26607ef8372c76239a487113 (diff) | |
download | systemtap-steved-c039c2b968029a84f2554f1c28cd738aa28b730a.tar.gz systemtap-steved-c039c2b968029a84f2554f1c28cd738aa28b730a.tar.xz systemtap-steved-c039c2b968029a84f2554f1c28cd738aa28b730a.zip |
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
* systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash.
Diffstat (limited to 'testsuite/systemtap.base/cmd_parse.exp')
-rw-r--r-- | testsuite/systemtap.base/cmd_parse.exp | 3 |
1 files changed, 2 insertions, 1 deletions
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"} |