Use save_vars to replace existing manipulation of globals in tests
authorPatrick Palka <patrick@parcs.ath.cx>
Fri, 19 Jun 2015 01:47:55 +0000 (21:47 -0400)
committerPatrick Palka <patrick@parcs.ath.cx>
Wed, 12 Aug 2015 15:43:16 +0000 (11:43 -0400)
commitb6dafabfb18e3ab207a1818ebe68e30337b5515d
tree80e39b020e2d1c2224c691f22f49345cb931d152
parent6bf45b2495bb2482a019c4b28b32a49bd6a12133
Use save_vars to replace existing manipulation of globals in tests

gdb/testsuite/ChangeLog:

* gdb.base/gdbhistsize-history.exp
(test_histsize_history_setting): Use save_vars.
* gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
Use save_vars.
(test_no_truncation_of_unlimited_history_file): Use save_vars.
* gdb.base/readline.exp: Use save_vars.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gdbhistsize-history.exp
gdb/testsuite/gdb.base/gdbinit-history.exp
gdb/testsuite/gdb.base/readline.exp