diff options
Diffstat (limited to 'gdb/testsuite/gdb.gdb/unittest.exp')
-rw-r--r-- | gdb/testsuite/gdb.gdb/unittest.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.gdb/unittest.exp b/gdb/testsuite/gdb.gdb/unittest.exp index 795a32b..500389d 100644 --- a/gdb/testsuite/gdb.gdb/unittest.exp +++ b/gdb/testsuite/gdb.gdb/unittest.exp @@ -63,7 +63,7 @@ proc run_selftests { binfile } { gdb_exit gdb_start } else { - clean_restart ${binfile} + clean_restart ${::testfile} } if { [is_remote host] } { @@ -115,7 +115,7 @@ if { $self_tests_enabled && ![is_remote host] } { # initialization order of GDB. with_test_prefix "reversed initialization" { save_vars { env(GDB_REVERSE_INIT_FUNCTIONS) } { - if [info exists env(GDB_REVERSE_INIT_FUNCTIONS)] { + if {[info exists env(GDB_REVERSE_INIT_FUNCTIONS)]} { unset env(GDB_REVERSE_INIT_FUNCTIONS) } else { set env(GDB_REVERSE_INIT_FUNCTIONS) 1 |