summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/conversions.stp13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/buildok/conversions.stp b/testsuite/buildok/conversions.stp
new file mode 100755
index 00000000..5a4d46f0
--- /dev/null
+++ b/testsuite/buildok/conversions.stp
@@ -0,0 +1,13 @@
+# Test the conversions tapset.
+
+probe begin {
+ print (kernel_string(2342))
+ print (kernel_long(2342))
+ print (kernel_int(2342))
+ print (kernel_short(2342))
+ print (kernel_char(2342))
+
+ print (user_string(2342))
+ print (user_string2(2342,"foobar"))
+ print (user_string_warn(2342))
+} \ No newline at end of file