summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/error_fn.exp
diff options
context:
space:
mode:
authorJosh Stone <joshua.i.stone@intel.com>2008-05-28 13:53:06 -0700
committerJosh Stone <joshua.i.stone@intel.com>2008-05-28 13:59:40 -0700
commit90c278bdf839fbbb5485a1c306ac400efcced388 (patch)
tree18c0596f7986703f7ca7b0cbf6980a7e954425a8 /testsuite/systemtap.base/error_fn.exp
parent2285f446112f64884da490fc66144b19f6cb8504 (diff)
downloadsystemtap-steved-90c278bdf839fbbb5485a1c306ac400efcced388.tar.gz
systemtap-steved-90c278bdf839fbbb5485a1c306ac400efcced388.tar.xz
systemtap-steved-90c278bdf839fbbb5485a1c306ac400efcced388.zip
Check that errors in nested functions are not lost on return
Currently this test fails, as noted in bugzilla 6529.
Diffstat (limited to 'testsuite/systemtap.base/error_fn.exp')
-rw-r--r--testsuite/systemtap.base/error_fn.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/error_fn.exp b/testsuite/systemtap.base/error_fn.exp
new file mode 100644
index 00000000..c0de850f
--- /dev/null
+++ b/testsuite/systemtap.base/error_fn.exp
@@ -0,0 +1,7 @@
+# check that errors in nested functions are not lost on return
+# bugzilla 6529
+
+set test "error_fn"
+
+stap_run $srcdir/$subdir/$test.stp no_load ".*synthetic error.*"
+