]> sourceware.org Git - automake.git/commitdiff
* ansi4.test: New file.
authorTom Tromey <tromey@redhat.com>
Sun, 15 Aug 1999 22:51:44 +0000 (22:51 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 15 Aug 1999 22:51:44 +0000 (22:51 +0000)
* Makefile.am (TESTS): Added ansi4.test.

tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/ansi4.test [new file with mode: 0755]

index 9602ec8dbdc352b5171b27069413ef4a1f66640f..1244c735f048b2d357b2788cd330291ef37dbbb1 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-15  Tom Tromey  <tromey@cygnus.com>
+
+       * ansi4.test: New file.
+       * Makefile.am (TESTS): Added ansi4.test.
+
 1999-07-30  Tom Tromey  <tromey@cygnus.com>
 
        * double.test (bin_PROGRAMS): New file.
index 950f707fbc687617f5843d34c6c648d2bd210270..622c5bd40c62e6a6cd5db8e5b8aa6252bc42b331 100644 (file)
@@ -19,6 +19,7 @@ ammissing.test \
 ansi.test \
 ansi2.test \
 ansi3.test \
+ansi4.test \
 auxdir.test \
 backsl.test \
 backsl2.test \
index 4c2a38c7267669a2ffa03e62ad1c222d2c0a14fd..5eaff84af827a00129ff30da577f4a51c1f36ff0 100644 (file)
@@ -85,6 +85,7 @@ ammissing.test \
 ansi.test \
 ansi2.test \
 ansi3.test \
+ansi4.test \
 auxdir.test \
 backsl.test \
 backsl2.test \
@@ -148,6 +149,7 @@ depend2.test \
 depend3.test \
 discover.test \
 distdir.test \
+double.test \
 dup.test \
 dup2.test \
 else.test \
diff --git a/tests/ansi4.test b/tests/ansi4.test
new file mode 100755 (executable)
index 0000000..4775ad3
--- /dev/null
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+# Quoting regression.  Test from Thomas Gagne.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CC
+AM_C_PROTOTYPES
+AC_EXEEXT
+AC_OBJEXT
+END
+
+cat > Makefile.am << 'END'
+AUTOMAKE_OPTIONS = ansi2knr
+bin_PROGRAMS = hello
+hello_SOURCES = hello.c
+END
+
+: > ansi2knr.1
+: > ansi2knr.c
+: > hello.c
+
+$AUTOMAKE || exit 1
+
+fgrep 'ansi2knr.$(' Makefile.in || exit 1
This page took 0.030994 seconds and 5 git commands to generate.