X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=t%2Foverride-suggest-local.sh;h=bf0f6adc469e3a86b0dac40cbc5a739c1888007a;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=286c8881ba5bd454f86d59e937286fd4b0c60cf8;hpb=119d65e9e06ffc6e8997d3ba386429db6cc2ef27;p=platform%2Fupstream%2Fautomake.git diff --git a/t/override-suggest-local.sh b/t/override-suggest-local.sh old mode 100755 new mode 100644 index 286c888..bf0f6ad --- a/t/override-suggest-local.sh +++ b/t/override-suggest-local.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2010-2012 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -17,7 +17,7 @@ # Make sure automake -Woverride suggests using TARGET-local instead # of TARGET when possible. -. ./defs || Exit 1 +. test-init.sh cat > Makefile.am << 'END' install: @@ -34,11 +34,11 @@ $ACLOCAL $AUTOMAKE -Wno-override AUTOMAKE_fails # There is no such thing as 'install-local'. -grep ':.*install-local' stderr && Exit 1 +grep ':.*install-local' stderr && exit 1 grep ':.*installcheck-local' stderr grep ':.*html-local' stderr # Make sure overriding *-am targets suggest using *-local, not *-am. -grep ':.*clean-am-local' stderr && Exit 1 +grep ':.*clean-am-local' stderr && exit 1 grep ':.*clean-local' stderr :