From: Bruno Haible Date: Sat, 5 May 2007 11:41:20 +0000 (+0000) Subject: Avoid a test failure on mingw. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=69868c2282ec566818278b1bc8906439733a94b6;p=pspp Avoid a test failure on mingw. --- diff --git a/ChangeLog b/ChangeLog index 483ae18d24..67d2feaa14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-05-01 Bruno Haible + + * tests/test-argp-2.sh (func_compare): Drop .exe suffix. + 2007-05-03 Paul Eggert * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better diff --git a/tests/test-argp-2.sh b/tests/test-argp-2.sh index 797f2faa80..31fbb31e3b 100755 --- a/tests/test-argp-2.sh +++ b/tests/test-argp-2.sh @@ -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 - }