summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ChangeLog4
-rwxr-xr-xtests/depend2.test8
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index c9c4a4a0e..5ca38b051 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -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.
diff --git a/tests/depend2.test b/tests/depend2.test
index be1716a50..7f08c65a2 100755
--- a/tests/depend2.test
+++ b/tests/depend2.test
@@ -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