Fix typo in previous checkin
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 15 May 2005 22:33:49 +0000 (22:33 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 15 May 2005 22:33:49 +0000 (22:33 +0000)
From-SVN: r99748

gcc/testsuite/lib/compat.exp

index def6f263931623c18654a2caa892b23f8bf2743b..423253f03d10f23f79f55b4f703e1de72c11ad8c 100644 (file)
@@ -287,7 +287,7 @@ proc compat-execute { src1 sid use_alt } {
     if {[string first "$srcdir/" "$src1"] == 0} {
        set testcase [string range "$src1" [string length "$srcdir/"] end]
     }
-    if {[string first "$tmpdir/" "$src1"] == 0} {
+    if {[string first "$tmpdir/" "$testcase"] == 0} {
        set testcase [string range "$src1" [string length "$tmpdir/"] end]
     }
     regsub "_main.*" $testcase "" testcase