Index: gdb/testsuite/gdb.base/a2-run.exp |
diff --git a/gdb/testsuite/gdb.base/a2-run.exp b/gdb/testsuite/gdb.base/a2-run.exp |
index e2119d45ff9b018283eb261dfb3d166287e67497..c8467dc31b56c4fd43c8790ecc365bbdec40e340 100644 |
--- a/gdb/testsuite/gdb.base/a2-run.exp |
+++ b/gdb/testsuite/gdb.base/a2-run.exp |
@@ -1,5 +1,4 @@ |
-# Copyright 1988, 1990-1992, 1994-1997, 1999-2000, 2007-2012 Free |
-# Software Foundation, Inc. |
+# Copyright 1988-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -25,8 +24,9 @@ if [gdb_skip_stdio_test "a2run.exp"] { |
# test running programs |
# |
-set testfile a2-run |
-if { [prepare_for_testing ${testfile}.exp $testfile run.c] } { |
+standard_testfile run.c |
+ |
+if { [prepare_for_testing ${testfile}.exp $testfile $srcfile] } { |
return -1 |
} |