X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Falpha.sh;h=bbcc14b94d88b409eb2fc9be93f16953ab946cbb;hb=625678d54b616bf5c2db6c803f4b0746f70e3e53;hp=90f2cc267ac5e255bf60153a899d7232e550f0b9;hpb=326ff45b8da46ab409b4a69d4861ad3211f0e132;p=platform%2Fupstream%2Fautomake.git diff --git a/t/alpha.sh b/t/alpha.sh old mode 100755 new mode 100644 index 90f2cc2..bbcc14b --- a/t/alpha.sh +++ b/t/alpha.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1998-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 @@ -16,7 +16,7 @@ # Make sure README-alpha is distributed when appropriate. Report from # Jim Meyering. -. ./defs || Exit 1 +. test-init.sh cat > configure.ac << 'END' AC_INIT([alpha], [1.0a]) @@ -60,11 +60,12 @@ $AUTOMAKE ./configure # "make distdir" should fail because NEWS does not mention 1.0a -$MAKE check 2>stderr && { cat stderr >&2; Exit 1; } -cat stderr >&2 +run_make -E -e FAIL check grep 'NEWS not updated' stderr -test ! -f works +test ! -e works echo 'alpha 1.0a released' > NEWS $MAKE check test -f works + +: