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 483ae18d245a6c9f75be7cf1ab480dd227052295..67d2feaa14c350122dc270660a6dfe16283486e3 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 797f2faa80e7edcb2843585f84b5c3a381812257..31fbb31e3bc2087176569475d32d1276257b6e16 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 -
 }