Index: gdb/testsuite/gdb.cp/overload-const.exp |
diff --git a/gdb/testsuite/gdb.cp/overload-const.exp b/gdb/testsuite/gdb.cp/overload-const.exp |
index 2a64356fb881cb25acf6dc13cf6f66bd7482b914..1fec157c03d18964ead23946f6b37dd93dae9662 100644 |
--- a/gdb/testsuite/gdb.cp/overload-const.exp |
+++ b/gdb/testsuite/gdb.cp/overload-const.exp |
@@ -17,8 +17,9 @@ |
if {[skip_cplus_tests]} { continue } |
-set testfile "overload-const" |
-if [prepare_for_testing $testfile $testfile $testfile.cc {c++ debug}] { |
+standard_testfile .cc |
+ |
+if {[prepare_for_testing $testfile $testfile $testfile.cc {c++ debug}]} { |
return -1 |
} |