summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/x86_gs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/x86_gs.exp')
-rw-r--r--testsuite/systemtap.base/x86_gs.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/x86_gs.exp b/testsuite/systemtap.base/x86_gs.exp
new file mode 100644
index 00000000..98ab3051
--- /dev/null
+++ b/testsuite/systemtap.base/x86_gs.exp
@@ -0,0 +1,12 @@
+set test "x86_gs"
+if {![installtest_p]} { untested $test; return }
+set arch [exec uname -m]
+if {$arch!="i686"} { untested $test; return }
+spawn stap $srcdir/$subdir/x86_gs.stp
+expect {
+ -timeout 60
+ -re "0\r\n" { pass $test }
+ -re "140\r\n" { pass $test }
+ eof { fail $test }
+ timeout { fail "$test unexpected timeout" }
+}