aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/gdbhistsize-history.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/gdbhistsize-history.exp')
-rw-r--r--gdb/testsuite/gdb.base/gdbhistsize-history.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/gdbhistsize-history.exp b/gdb/testsuite/gdb.base/gdbhistsize-history.exp
index d3e4a05..59fd2d0 100644
--- a/gdb/testsuite/gdb.base/gdbhistsize-history.exp
+++ b/gdb/testsuite/gdb.base/gdbhistsize-history.exp
@@ -20,11 +20,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}
# Check that the history size is properly set to SIZE when the environment
# variable ENV_VAR is set to GDBHISTSIZE.