2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
+2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
+
+ * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
+
2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
* gdb.base/completion.exp: Skip tests that interrupt GDB with
# Test the setting of "history size" via the GDBHISTSIZE environment variable
+# 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
+}
+
# Check that the history size is properly set to SIZE when the environment
# variable ENV_VAR is set to GDBHISTSIZE.