[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: New test
From: |
Tom Tromey |
Subject: |
Patch: New test |
Date: |
17 Jun 2001 13:09:18 -0600 |
I'm checking this in. It is a test for a recently-reported bug.
2001-06-17 Tom Tromey <address@hidden>
* tests/acoutput2.test: New file.
* tests/Makefile.am (TESTS): Added acoutput2.test.
Tom
Index: tests/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.am,v
retrieving revision 1.311
diff -u -r1.311 Makefile.am
--- Makefile.am 2001/06/15 17:33:48 1.311
+++ Makefile.am 2001/06/17 18:52:16
@@ -10,6 +10,7 @@
aclocalii.test \
acoutnoq.test \
acoutput.test \
+acoutput2.test \
acoutqnl.test \
acouttbs.test \
acsilent.test \
Index: tests/acoutput2.test
===================================================================
RCS file: acoutput2.test
diff -N acoutput2.test
--- /dev/null Tue May 5 13:32:27 1998
+++ acoutput2.test Sun Jun 17 11:52:16 2001
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+# Test for bug reported by Eric Magnien.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AM_INIT_AUTOMAKE(nonesuch, nonesuch)
+AC_OUTPUT([subdir/Makefile subdir/foo Makefile foo], [true])
+END
+
+mkdir subdir
+
+: > Makefile.am
+: > subdir/Makefile.am
+: > foo.in
+: > subdir/foo.in
+
+$AUTOMAKE || exit 1
+
+grep '^DIST_COMMON =.*foo\.in' Makefile.in