[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: |
14 Jun 2001 19:11:29 -0600 |
This is a test for a bug reported by Kevin Dalley.
2001-06-14 Tom Tromey <address@hidden>
* tests/Makefile.am (TESTS): Added mdate4.test.
* tests/mdate4.test: New file.
Tom
Index: tests/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.am,v
retrieving revision 1.307
diff -u -r1.307 Makefile.am
--- Makefile.am 2001/06/09 00:34:29 1.307
+++ Makefile.am 2001/06/15 00:54:29
@@ -182,6 +182,7 @@
mdate.test \
mdate2.test \
mdate3.test \
+mdate4.test \
mkinst2.test \
mkinstall.test \
nodep.test \
Index: tests/mdate4.test
===================================================================
RCS file: mdate4.test
diff -N mdate4.test
--- /dev/null Tue May 5 13:32:27 1998
+++ mdate4.test Thu Jun 14 17:54:29 2001
@@ -0,0 +1,33 @@
+#! /bin/sh
+
+# Test to make sure that mdate-sh is added to the right directory.
+# Report from Kevin Dalley
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AC_INIT
+AM_INIT_AUTOMAKE(nonesuch, nonesuch)
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+AC_OUTPUT(Makefile sub/Makefile)
+END
+
+cat > Makefile.am << 'END'
+SUBDIRS = sub
+END
+
+mkdir sub
+
+cat > sub/Makefile.am << 'END'
+info_TEXINFOS = textutils.texi
+END
+
+cat > sub/textutils.texi << 'END'
address@hidden version.texi
address@hidden textutils.info
+END
+
+$AUTOMAKE -a || exit 1
+test -f sub/mdate-sh