X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fdistcom-subdir.sh;h=b3651f1cdf8923c5d138da0b7db4382f23ae5661;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=7def7bf25a03df2973d57f5baa5bd1cb2dcc391c;hpb=b21d68690612214d8edd810acf11880c3c0ad586;p=platform%2Fupstream%2Fautomake.git diff --git a/t/distcom-subdir.sh b/t/distcom-subdir.sh old mode 100755 new mode 100644 index 7def7bf..b3651f1 --- a/t/distcom-subdir.sh +++ b/t/distcom-subdir.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2004-2012 Free Software Foundation, Inc. +# Copyright (C) 2004-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 @@ -17,7 +17,7 @@ # Test to make sure that if an auxfile (here depcomp) is required # by a subdir Makefile.am, it is distributed by that Makefile.am. -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_CONFIG_FILES([subdir/Makefile]) @@ -37,7 +37,7 @@ mkdir subdir $ACLOCAL $AUTOCONF $AUTOMAKE -test ! -f depcomp +test ! -e depcomp cat > subdir/Makefile.am << 'END' bin_PROGRAMS = foo @@ -49,8 +49,8 @@ $AUTOMAKE -a subdir/Makefile test -f depcomp # FIXME: the logic of this check and other similar ones in other -# FIXME: 'distcom*.test' files should be factored out in a common -# FIXME: subroutine in 'defs'... +# FIXME: 'distcom*.sh' files should be factored out in a common +# FIXME: subroutine in 'am-test-lib.sh'... sed -n -e " /^DIST_COMMON =.*\\\\$/ { :loop