summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/x86_gs.exp
blob: 8dc2a66306259d04f611cd4f7d232d5dd3944e07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set test "x86_gs"
if {![installtest_p]} { untested $test; return }
set arch [exec uname -i]
if {$arch!="i386"} { 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" }
}