aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib-corrupted.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-corrupted.exp')
-rw-r--r--gdb/testsuite/gdb.base/solib-corrupted.exp8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/solib-corrupted.exp b/gdb/testsuite/gdb.base/solib-corrupted.exp
index 644c8ec..e778711 100644
--- a/gdb/testsuite/gdb.base/solib-corrupted.exp
+++ b/gdb/testsuite/gdb.base/solib-corrupted.exp
@@ -15,11 +15,9 @@
require allow_shlib_tests
-if {[is_remote target]} {
- # gdbserver prints the warning message but expect is parsing only the GDB
- # output, not the gdbserver output.
- return 0
-}
+# gdbserver prints the warning message but expect is parsing only the GDB
+# output, not the gdbserver output.
+require {!is_remote target}
set testfile "solib-corrupted"
set srcfile start.c