[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
empty TIMESTAMP, stamp-vcl
From: |
Eric Blake |
Subject: |
empty TIMESTAMP, stamp-vcl |
Date: |
Wed, 28 Mar 2007 05:41:52 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I still hope to incorporate the ideas in libtool so that m4 no longer
requires GNU make
(http://lists.gnu.org/archive/html/libtool-patches/2007-03/msg00048.html).
In the meantime, I have been playing with git, which does not expand RCS
keywords, and that exposed a testsuite bug. So part of fixing stamp-vcl
will be figuring out how to have a sane TIMESTAMP variable regardless of
whether the repository is from CVS or from git (I'm thinking of having
mkstamp recognize whether m4/CVS or m4/.git exists, and continue to use
the RCS Revision of ChangeLog in CVS, but the first few characters of the
hash in 'git ls-tree HEAD ChangeLog' in git). In the meantime, here's the
testsuite fix. And I'll check with Jim Meyering about how he got
coreutils.git hosted on savannah.
2007-03-28 Eric Blake <address@hidden>
* tests/builtins.at (__m4_version__): Fix bug when TIMESTAMP is
empty.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGClSA84KuGfSFAYARAj5YAKDDFEQcKeRm5qO4TgTfE8BTIVEORwCgz/s2
gcybgIVtVP8JSQJiUVMCV3Y=
=dXfH
-----END PGP SIGNATURE-----
Index: tests/builtins.at
===================================================================
RCS file: /sources/m4/m4/tests/builtins.at,v
retrieving revision 1.38
diff -u -p -r1.38 builtins.at
--- tests/builtins.at 28 Feb 2007 14:36:22 -0000 1.38
+++ tests/builtins.at 28 Mar 2007 11:39:47 -0000
@@ -80,7 +80,7 @@ AT_SETUP([__m4_@&address@hidden)
AT_DATA([in], [[__m4_version__
]])
AT_CHECK_M4([--version], [0], [stdout])
-AT_CHECK([[sed -e 's/.*(GNU M4 \(.*\)) \([^ ]*\).*/\2 \1/;q' < stdout]],
+AT_CHECK([[sed -e 's/.*(GNU M4\(.*\)) \([^ ]*\).*/\2\1/;q' < stdout]],
[0], [stdout])
mv stdout expout
AT_CHECK_M4([in], [0], [expout])
- empty TIMESTAMP, stamp-vcl,
Eric Blake <=