summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/arith.exp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-01-29 16:55:06 -0500
committerWilliam Cohen <wcohen@redhat.com>2009-01-29 16:55:06 -0500
commit9fbda39bf7687ceeee28813f30f6e3ec5c72fc5d (patch)
tree591d46a22865cb745e368ca4325bf95ad93e7f70 /testsuite/systemtap.base/arith.exp
parent8da0793017c9871b96cb9695ab10e9fa040c0a03 (diff)
downloadsystemtap-steved-9fbda39bf7687ceeee28813f30f6e3ec5c72fc5d.tar.gz
systemtap-steved-9fbda39bf7687ceeee28813f30f6e3ec5c72fc5d.tar.xz
systemtap-steved-9fbda39bf7687ceeee28813f30f6e3ec5c72fc5d.zip
Move some systemtap.sample tests to systemtap.base.
Diffstat (limited to 'testsuite/systemtap.base/arith.exp')
-rw-r--r--testsuite/systemtap.base/arith.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/arith.exp b/testsuite/systemtap.base/arith.exp
new file mode 100644
index 00000000..c4f72793
--- /dev/null
+++ b/testsuite/systemtap.base/arith.exp
@@ -0,0 +1,14 @@
+set test "arith"
+if {![installtest_p]} { untested $test; return }
+
+spawn stap -DMAXNESTING=5 $srcdir/$subdir/arith.stp
+set ok 0
+expect {
+ -timeout 150
+ -re {passes: [0-9]* failures: 0} { incr ok }
+ timeout { fail "$test (timeout)" }
+ eof { }
+}
+close
+wait
+if {$ok == 1} { pass "$test" } { fail "$test" }