diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/randomize.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/randomize.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/randomize.exp b/gdb/testsuite/gdb.base/randomize.exp index 63bff21..5a7b089 100644 --- a/gdb/testsuite/gdb.base/randomize.exp +++ b/gdb/testsuite/gdb.base/randomize.exp @@ -60,7 +60,7 @@ gdb_test "show disable-randomization" \ set addr1 [address_get "randomized first address"] set addr2 [address_get "randomized second address"] set test "randomized addresses should not match" -if [string equal $addr1 $addr2] { +if {[string equal $addr1 $addr2]} { untested "no randomization detected on this system" return -1 } else { @@ -75,7 +75,7 @@ gdb_test "show disable-randomization" \ set addr1 [address_get "fixed first address"] set addr2 [address_get "fixed second address"] set test "fixed addresses should match" -if [string equal $addr1 $addr2] { +if {[string equal $addr1 $addr2]} { pass $test } else { fail $test |