empty TIMESTAMP, stamp-vcl
Eric Blake <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.patches |
|---|---|
| Message-ID | <[email protected]> |
-----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 <[email protected]> * 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 [email protected] -----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----- _______________________________________________ M4-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/m4-patches
m4.patch251
(text/plain, 637 B)
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_@&t@version__]) 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])