aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/attach-slow-waitpid.exp')
-rw-r--r--gdb/testsuite/gdb.threads/attach-slow-waitpid.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp b/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp
index 7512a67..85db583 100644
--- a/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp
+++ b/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp
@@ -38,9 +38,8 @@
# This test only works on Linux
require !use_gdb_stub isnative
-if { [is_remote host] || ![istarget *-linux*] } {
- return
-}
+require {!is_remote host}
+require {istarget *-linux*}
standard_testfile