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 | |
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')
-rw-r--r-- | testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | testsuite/systemtap.base/cmd_parse.exp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index a54e80bd..44eb50a7 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-03-27 Frank Ch. Eigler <fche@elastic.org> + + * systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash. + 2008-03-23 Frank Ch. Eigler <fche@elastic.org> * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings. 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"} |