diff options
Diffstat (limited to 'tests/substref.test')
-rwxr-xr-x | tests/substref.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/substref.test b/tests/substref.test index 23dc1687e..6bbe8b1c9 100755 --- a/tests/substref.test +++ b/tests/substref.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2001, 2002, 2010, 2011 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2010, 2011, 2012 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 @@ -56,7 +56,8 @@ $AUTOMAKE -a ./configure -echo dlmain.c dlmain.o >exp +objext=`sed -n -e 's/^OBJEXT = //p' < Makefile` +echo dlmain.c dlmain.$objext >exp $MAKE got cat got diff exp got |