X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fdeprecated-acinit.sh;h=223984bad24adefa5a0d54f521d0129e3effe504;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=d130f9c444be28931f284a08b5d78dbd8c8bd124;hpb=76f0605a6dd790ab43cc608db11ac2141ddf46c0;p=platform%2Fupstream%2Fautomake.git diff --git a/t/deprecated-acinit.sh b/t/deprecated-acinit.sh old mode 100755 new mode 100644 index d130f9c..223984b --- a/t/deprecated-acinit.sh +++ b/t/deprecated-acinit.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-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 @@ # Check that automake and autoconf complain about an old-style AC_INIT # call used with a new-style AM_AUTOMAKE_INIT call. -. ./defs || Exit 1 +. test-init.sh : > Makefile.am @@ -37,11 +37,11 @@ for ac_init in AC_INIT 'AC_INIT([Makefile.am])'; do AC_CONFIG_FILES([Makefile]) END cat configure.ac # For debugging. - $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; } + $ACLOCAL 2>stderr && { cat stderr >&2; exit 1; } cat stderr >&2 grep "^configure\\.ac:.* $errmsg" stderr cp aclocal-m4.sav aclocal.m4 - $AUTOCONF 2>stderr && { cat stderr >&2; Exit 1; } + $AUTOCONF 2>stderr && { cat stderr >&2; exit 1; } cat stderr >&2 grep "^configure\\.ac:.* $errmsg" stderr AUTOMAKE_fails