summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/hist_in_string.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.maps/hist_in_string.exp')
-rw-r--r--testsuite/systemtap.maps/hist_in_string.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.maps/hist_in_string.exp b/testsuite/systemtap.maps/hist_in_string.exp
new file mode 100644
index 00000000..02f201af
--- /dev/null
+++ b/testsuite/systemtap.maps/hist_in_string.exp
@@ -0,0 +1,8 @@
+# test histogram printed to string
+
+set test "hist_in_string"
+set ::result_string {value |-------------------------------------------------- count
+ 0 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 128
+}
+
+stap_run2 $srcdir/$subdir/$test.stp