X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Falpha.sh;h=bbcc14b94d88b409eb2fc9be93f16953ab946cbb;hb=3ce4015f1bfff6277840502b080cfd2b22e05870;hp=d8dc30a8466b1b0665516be93cd4d79e27685a33;hpb=18143e7cfe66eaddffa481211ad4e340a11a22f4;p=platform%2Fupstream%2Fautomake.git diff --git a/t/alpha.sh b/t/alpha.sh old mode 100755 new mode 100644 index d8dc30a..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 @@ -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 ! -e works echo 'alpha 1.0a released' > NEWS $MAKE check test -f works + +: