Index: gdb/testsuite/gdb.base/pie-execl.exp |
diff --git a/gdb/testsuite/gdb.base/pie-execl.exp b/gdb/testsuite/gdb.base/pie-execl.exp |
index 8b6da71fecb743b96b8e05845ff627c2c6c3ebbe..2bdccc15ede65168c43553c7925f3a00adcca103 100644 |
--- a/gdb/testsuite/gdb.base/pie-execl.exp |
+++ b/gdb/testsuite/gdb.base/pie-execl.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2010-2012 Free Software Foundation, Inc. |
+# Copyright 2010-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 |
@@ -26,12 +26,11 @@ if [is_remote target] { |
continue |
} |
-set testfile "pie-execl" |
-set srcfile ${testfile}.c |
+standard_testfile .c |
set executable1 ${testfile}1 |
set executable2 ${testfile}2 |
-set binfile1 ${objdir}/${subdir}/${executable1} |
-set binfile2 ${objdir}/${subdir}/${executable2} |
+set binfile1 ${binfile}1 |
+set binfile2 ${binfile}2 |
set binfile2_test_msg OBJDIR/${subdir}/${executable2} |
# Use conditional compilation according to `BIN' as GDB remembers the source |