summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/num_args.tcl
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-11-12 15:31:16 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-11-12 15:31:16 -0500
commitc813dcb43e02c318e13b5539e897fcca07b40d4b (patch)
treeac58ad305bb03e0258e66e27067e4e52027b79dd /testsuite/systemtap.context/num_args.tcl
parent702dbbf59a4716d905d8fdc9e3824c7d068957a0 (diff)
parent8bf4a1448c19642ae13e2ed4458cc77af5f398fd (diff)
downloadsystemtap-steved-c813dcb43e02c318e13b5539e897fcca07b40d4b.tar.gz
systemtap-steved-c813dcb43e02c318e13b5539e897fcca07b40d4b.tar.xz
systemtap-steved-c813dcb43e02c318e13b5539e897fcca07b40d4b.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.context/num_args.tcl')
-rw-r--r--testsuite/systemtap.context/num_args.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/systemtap.context/num_args.tcl b/testsuite/systemtap.context/num_args.tcl
index 48e83f4d..7d12b433 100644
--- a/testsuite/systemtap.context/num_args.tcl
+++ b/testsuite/systemtap.context/num_args.tcl
@@ -54,9 +54,12 @@ expect {
timeout {fail "string function arguments -- $tag"}
}
}
+ -re "semantic error:" {
+ fail "function arguments -- $tag: compilation failed"
+ }
eof {fail "function arguments -- $tag: unexpected timeout"}
}
exec kill -INT -[exp_pid]
-close
+catch close
wait
}