Index: gdb/testsuite/gdb.cp/typedef-operator.exp |
diff --git a/gdb/testsuite/gdb.cp/typedef-operator.exp b/gdb/testsuite/gdb.cp/typedef-operator.exp |
index 1ec6af76cd32e04b764cb0adbce323d3e68b6417..6aa603f84d530cf8386ae7e0fd40b077ed07d3bf 100644 |
--- a/gdb/testsuite/gdb.cp/typedef-operator.exp |
+++ b/gdb/testsuite/gdb.cp/typedef-operator.exp |
@@ -17,8 +17,9 @@ |
if {[skip_cplus_tests]} { continue } |
-set testfile "typedef-operator" |
-if [prepare_for_testing $testfile $testfile $testfile.cc {c++ debug}] { |
+standard_testfile .cc |
+ |
+if {[prepare_for_testing $testfile $testfile $srcfile {c++ debug}]} { |
return -1 |
} |