diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp index de82a2bfbff..57f1844d530 100644 --- a/ld/testsuite/ld-bootstrap/bootstrap.exp +++ b/ld/testsuite/ld-bootstrap/bootstrap.exp @@ -106,7 +106,7 @@ foreach flags $test_flags { # This test can only be run if we have the ld build directory, # since we need the object files. - if {$ld != "$objdir/ld-new"} { + if {[file normalize $ld] != [file normalize $objdir/ld-new]} { untested $testname continue }