summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/symbols.exp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-02-06 12:36:52 -0500
committerWilliam Cohen <wcohen@redhat.com>2009-02-06 12:36:52 -0500
commit2b7e0f29ac8bc4ed53c960607ead69cc7a571454 (patch)
treee76f2fa2e469873bd3cf8f6521899999a773da31 /testsuite/systemtap.context/symbols.exp
parente3687b9e6c8c0fe634ee2d33e770581d3a1e33ba (diff)
downloadsystemtap-steved-2b7e0f29ac8bc4ed53c960607ead69cc7a571454.tar.gz
systemtap-steved-2b7e0f29ac8bc4ed53c960607ead69cc7a571454.tar.xz
systemtap-steved-2b7e0f29ac8bc4ed53c960607ead69cc7a571454.zip
Move symbols.exp and symbols.stp to systemtap.context directory.
Diffstat (limited to 'testsuite/systemtap.context/symbols.exp')
-rw-r--r--testsuite/systemtap.context/symbols.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/systemtap.context/symbols.exp b/testsuite/systemtap.context/symbols.exp
new file mode 100644
index 00000000..0c599b58
--- /dev/null
+++ b/testsuite/systemtap.context/symbols.exp
@@ -0,0 +1,14 @@
+set test "symbols"
+if {![installtest_p]} { untested $test; return }
+
+spawn stap -g $srcdir/$subdir/symbols.stp
+set ok 0
+expect {
+ -timeout 120
+ -re { 0x[a-f0-9]+[^\r]*\r} { incr ok; exp_continue }
+ timeout { fail "$test (timeout)" }
+ eof { }
+}
+#FIXME does not handle case of hanging symbols.stp correctly
+wait
+if {$ok == 11} { pass "$test ($ok)" } { fail "$test ($ok)" }