Avoid a test failure on mingw.
authorBruno Haible <bruno@clisp.org>
Sat, 5 May 2007 11:41:20 +0000 (11:41 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 5 May 2007 11:41:20 +0000 (11:41 +0000)
ChangeLog
tests/test-argp-2.sh

index 483ae18..67d2fea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-01  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-argp-2.sh (func_compare): Drop .exe suffix.
+
 2007-05-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better
index 797f2fa..31fbb31 100755 (executable)
@@ -23,9 +23,11 @@ unset ARGP_HELP_FMT
 ERR=0
 
 func_compare() {
-# If argp was compiled without base_name, it will display full program name
+# If argp was compiled without base_name, it will display full program name.
+# If run on mingw, it will display the program name with a .exe suffix.
   sed '1{
          s,: [^ ]*/test-argp,: test-argp,
+         s,: test-argp\.exe,: test-argp,
         }' | diff -c $TMP -
 }