X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fdepend4.sh;h=ddd77eb2ed4e2114061e825dcc2c58612b46f48c;hb=b9951d654abb76c5419f1e2b453f1ca06fdb331b;hp=d9896f860bfb26d95cf9269a48f01697fff97c8e;hpb=119d65e9e06ffc6e8997d3ba386429db6cc2ef27;p=platform%2Fupstream%2Fautomake.git diff --git a/t/depend4.sh b/t/depend4.sh index d9896f8..ddd77eb 100755 --- a/t/depend4.sh +++ b/t/depend4.sh @@ -16,7 +16,7 @@ # Check that dependencies are included when there are many header files. -. ./defs || Exit 1 +. test-init.sh echo AC_PROG_CC >> configure.ac @@ -30,7 +30,7 @@ for header in one.h two.h three.h four.h five.h six.h; do fred_SOURCES = fred1.c $headers END $AUTOMAKE - test 1 = `grep '^@AMDEP_TRUE@@am__include@' Makefile.in | wc -l` + test 1 -eq $(grep -c '^@AMDEP_TRUE@@am__include@' Makefile.in) done :