aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/libsegfault.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/libsegfault.exp')
-rw-r--r--gdb/testsuite/gdb.base/libsegfault.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/libsegfault.exp b/gdb/testsuite/gdb.base/libsegfault.exp
index 9a98399..7862c96 100644
--- a/gdb/testsuite/gdb.base/libsegfault.exp
+++ b/gdb/testsuite/gdb.base/libsegfault.exp
@@ -22,10 +22,7 @@
# We cannot expect remote hosts to see environment variables set on
# the local machine.
-if { [is_remote host] } {
- unsupported "can't set environment variables on remote host"
- return -1
-}
+require {!is_remote host}
# Spawn GDB with LIB preloaded with LD_PRELOAD. CMDLINE_OPTS are
# command line options passed to GDB.