]> sourceware.org Git - systemtap.git/commitdiff
2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>
authorhiramatu <hiramatu>
Wed, 6 Feb 2008 21:43:54 +0000 (21:43 +0000)
committerhiramatu <hiramatu>
Wed, 6 Feb 2008 21:43:54 +0000 (21:43 +0000)
* systemtap.base/cmd_parse.exp: Added 'wait' between tests for
preventing unexpected EOF.

testsuite/ChangeLog
testsuite/systemtap.base/cmd_parse.exp

index 3a4a24abc5d6114a2b58807963c8d7de18e3f1b0..3156de54ee8cd841d7d4fad42fdf1f03f8288634 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-06  Masami Hiramatsu  <mhiramat@redhat.com>
+
+       * systemtap.base/cmd_parse.exp: Added 'wait' between tests for
+       preventing unexpected EOF.
+
 2008-02-06  Masami Hiramatsu  <mhiramat@redhat.com>
 
        * systemtap.base/procfs.exp: Added PROCFS.ko cleanup.
index 31676a6f70c9fcb150fa5519b8bd8010358e1e05..cf15698f4b8d423ad802ad387b3d7f1f1ef48a14 100644 (file)
@@ -13,6 +13,7 @@ expect {
     timeout {fail "cmd_parse1: unexpected timeout"}
     eof {fail "cmd_parse1: unexpected EOF"}
 }
+wait
 
 # stap -c 'echo "hello "\"world\"' -e 'probe begin {}'
 spawn stap -c {echo "hello "\"world\"} -e {probe begin {}}
@@ -22,6 +23,7 @@ expect {
     timeout {fail "cmd_parse2: unexpected timeout"}
     eof {fail "cmd_parse2: unexpected EOF"}
 }
+wait
 
 #stap -c '(a="hello world"; echo $a)' -e 'probe begin {}'
 spawn stap -c {(a="hello world"; echo $a)} -e {probe begin {}}
@@ -31,6 +33,7 @@ expect {
     timeout {fail "cmd_parse3: unexpected timeout"}
     eof {fail "cmd_parse3: unexpected EOF"}
 }
+wait
 
 #stap -c '(a="hello "\"world\"; echo $a)' -e 'probe begin {}'
 spawn stap -c {(a="hello "\"world\"; echo $a)} -e {probe begin {}}
@@ -40,6 +43,7 @@ expect {
     timeout {fail "cmd_parse4: unexpected timeout"}
     eof {fail "cmd_parse4: unexpected EOF"}
 }
+wait
 
 #stap -c '(a="hello "world; echo $a)' -e 'probe begin {}'
 spawn stap -c {(a="hello "world; echo $a)} -e {probe begin {}}
@@ -49,6 +53,7 @@ expect {
     timeout {fail "cmd_parse5: unexpected timeout"}
     eof {fail "cmd_parse5: unexpected EOF"}
 }
+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 {}}
@@ -58,6 +63,7 @@ expect {
     timeout {fail "cmd_parse6: unexpected timeout"}
     eof {fail "cmd_parse6: unexpected EOF"}
 }
+wait
 
 #stap -c '(echo "Hello World" 1>&2) > /dev/null' -e 'probe begin {}'
 spawn stap -c {(echo "Hello World" 1>&2) > /dev/null} -e {probe begin {}}
@@ -67,3 +73,4 @@ expect {
     timeout {fail "cmd_parse7: unexpected timeout"}
     eof {fail "cmd_parse7: unexpected EOF"}
 }
+wait
This page took 0.032473 seconds and 5 git commands to generate.