From 8576ea4be5619d9c169cab385ac0d31174fdee41 Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Mon, 3 Nov 2008 01:58:48 -0500 Subject: Fix hung test due to workaround for PR6964. --- testsuite/systemtap.base/cmd_parse.exp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (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 733881a1..ef32798e 100644 --- a/testsuite/systemtap.base/cmd_parse.exp +++ b/testsuite/systemtap.base/cmd_parse.exp @@ -5,7 +5,7 @@ if {![installtest_p]} { return } -spawn stap -c {echo "hello world"} -we {probe begin {}} +spawn stap -c {echo "hello world"} -we {probe begin {exit()}} expect { -timeout 60 "hello world" {pass "cmd_parse1"} @@ -14,7 +14,7 @@ expect { } wait;close -spawn stap -c {echo "hello "\"world\"} -we {probe begin {}} +spawn stap -c {echo "hello "\"world\"} -we {probe begin {exit()}} expect { -timeout 60 "hello \"world\"" {pass "cmd_parse2"} @@ -23,7 +23,7 @@ expect { } wait;close -spawn stap -c {sh -c '(a="hello world"; echo $a)'} -we {probe begin {}} +spawn stap -c {sh -c '(a="hello world"; echo $a)'} -we {probe begin {exit()}} expect { -timeout 60 "hello world" {pass "cmd_parse3"} @@ -32,7 +32,7 @@ expect { } wait;close -spawn stap -c {sh -c '(a="hello "\"world\"; echo $a)'} -we {probe begin {}} +spawn stap -c {sh -c '(a="hello "\"world\"; echo $a)'} -we {probe begin {exit()}} expect { -timeout 60 "hello \"world\"" {pass "cmd_parse4"} @@ -41,7 +41,7 @@ expect { } wait;close -spawn stap -c {sh -c '(a="hello "world; echo $a)'} -we {probe begin {}} +spawn stap -c {sh -c '(a="hello "world; echo $a)'} -we {probe begin {exit()}} expect { -timeout 60 "hello world" {pass "cmd_parse5"} @@ -50,7 +50,7 @@ expect { } wait;close -spawn stap -c {bash -c '((a=42+7)); echo "The answer is $a"'} -we {probe begin {}} +spawn stap -c {bash -c '((a=42+7)); echo "The answer is $a"'} -we {probe begin {exit()}} expect { -timeout 60 "The answer is 49" {pass "cmd_parse6"} @@ -59,7 +59,7 @@ expect { } wait;close -spawn stap -c {sh -c '(echo "Hello World" 1>&2) > /dev/null'} -we {probe begin {}} +spawn stap -c {sh -c '(echo "Hello World" 1>&2) > /dev/null'} -we {probe begin {exit()}} expect { -timeout 60 "Hello World" {pass "cmd_parse7"} -- cgit