summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/kretprobe-vars.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/kretprobe-vars.exp')
-rw-r--r--testsuite/systemtap.base/kretprobe-vars.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/kretprobe-vars.exp b/testsuite/systemtap.base/kretprobe-vars.exp
new file mode 100644
index 00000000..5955b64f
--- /dev/null
+++ b/testsuite/systemtap.base/kretprobe-vars.exp
@@ -0,0 +1,4 @@
+# Check that implicitly-saved $target variables have the same
+# value as those manually saved on entry.
+set test "kretprobe-vars"
+stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string -c "cat /dev/null"