X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Faclocal-path-install.sh;h=970547a2bf37911d1a6fde7284a16ad95967724e;hb=0d9399f1efe69864f3295ada6325b14d953149c2;hp=a9a8b97c60f2afb51c4e6772c6709e1392425472;hpb=119d65e9e06ffc6e8997d3ba386429db6cc2ef27;p=platform%2Fupstream%2Fautomake.git diff --git a/t/aclocal-path-install.sh b/t/aclocal-path-install.sh old mode 100755 new mode 100644 index a9a8b97..970547a --- a/t/aclocal-path-install.sh +++ b/t/aclocal-path-install.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 @@ # ACLOCAL_PATH and '--install' interactions. am_create_testdir=empty -. ./defs || Exit 1 +. test-init.sh cat > configure.ac << 'END' AC_INIT @@ -26,7 +26,7 @@ END mkdir acdir pdir ldir -ACLOCAL="$ACLOCAL --system-acdir=`pwd`/acdir" +ACLOCAL="$ACLOCAL --system-acdir=$(pwd)/acdir" ACLOCAL_PATH=./pdir; export ACLOCAL_PATH cat > acdir/foo.m4 << 'END' @@ -39,10 +39,10 @@ END # The '--install' option should never cause anything to be installed # in a directory specified in ACLOCAL_PATH. -$ACLOCAL --install 2>stderr && { cat stderr >&2; Exit 1; } +$ACLOCAL --install 2>stderr && { cat stderr >&2; exit 1; } cat stderr >&2 -grep ' no -I was supplied' stderr -test ! -f pdir/foo.m4 +grep 'impossible without -I .* nor AC_CONFIG_MACRO_DIR' stderr +test ! -e pdir/foo.m4 # The '--install' option should cause a required macro found in a # directory specified in ACLOCAL_PATH to be installed locally.