fixed test
authorTom Tromey <tromey@redhat.com>
Sun, 11 May 1997 00:32:21 +0000 (00:32 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 11 May 1997 00:32:21 +0000 (00:32 +0000)
tests/ChangeLog
tests/depend2.test

index c9c4a4a..5ca38b0 100644 (file)
@@ -1,3 +1,7 @@
+Sat May 10 18:28:14 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * depend2.test: Fixed test; added another check.
+
 Sun May  4 15:47:24 1997  Tom Tromey  <tromey@cygnus.com>
 
        * xsource.test: New file.
index be1716a..7f08c65 100755 (executable)
@@ -61,9 +61,11 @@ END
 
 mkdir outdir
 
-$AUTOMAKE --include-deps --build-dir=`pwd`/build --srcdir-name=.. \
-   --output-dir=`pwd`/outdir || exit 1
+$AUTOMAKE --include-deps --build-dir=`pwd`/build --srcdir-name=../.. \
+   --output-dir=`pwd`/outdir src/Makefile || exit 1
 
 # The buggy output contains this string.
 fgrep '../../lib/filetypes.h' outdir/src/Makefile.in && exit 1
-exit 0
+
+# Also make sure that filetypes.h is mentioned at all.
+fgrep filetypes.h outdir/src/Makefile.in