summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/x86_gs.exp
blob: 98ab305125f4c8633d0218d61df5181484676c93 (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 -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" }
}