X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fgcj4.sh;h=39fe5297daa229a6b19ec1e12675c280e69de3b7;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=a860f89e200c06f2735690d0acd5bc41db196898;hpb=326ff45b8da46ab409b4a69d4861ad3211f0e132;p=platform%2Fupstream%2Fautomake.git diff --git a/t/gcj4.sh b/t/gcj4.sh old mode 100755 new mode 100644 index a860f89..39fe529 --- a/t/gcj4.sh +++ b/t/gcj4.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# Copyright (C) 2002-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 dependency tracking works for Java. required=gcj -. ./defs || Exit 1 +. test-init.sh cat >> configure.ac << 'END' AM_PROG_GCJ @@ -32,7 +32,7 @@ END $ACLOCAL $AUTOCONF $AUTOMAKE -./configure >stdout +./configure >stdout || { cat stdout; exit 1; } cat stdout # Configure must be checking the dependency style of gcj ... @@ -40,7 +40,7 @@ grep 'dependency style of gcj' stdout >filt cat filt # ... only once. -test `wc -l < filt` = 1 +test $(wc -l < filt) = 1 # Accept any outcome but 'none' # (at the time of writing it should be gcc or gcc3).