Mercurial > hg > octave-nkf > gnulib-hg
changeset 11763:6b6219b18763
Fix argp-version-etc-test module.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Mon, 03 Aug 2009 15:58:20 +0200 |
parents | 3ee925008944 |
children | 57245c9661b9 |
files | ChangeLog tests/test-argp-version-etc-1.sh |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-03 Simon Josefsson <simon@josefsson.org> + + * tests/test-argp-version-etc-1.sh: Use EXEEXT. Don't fail on + different project/version. + 2009-08-02 Paolo Bonzini <bonzini@gnu.org> Bruno Haible <bruno@clisp.org>
--- a/tests/test-argp-version-etc-1.sh +++ b/tests/test-argp-version-etc-1.sh @@ -22,7 +22,7 @@ ERR=0 cat > $TMP <<EOT -test-argp-version-etc (dummy) 0 +test-argp-version-etc (PROJECT) VERSION COPYRIGHT License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. @@ -31,11 +31,11 @@ Written by Sergey Poznyakoff. EOT -./test-argp-version-etc --version | +./test-argp-version-etc${EXEEXT} --version | sed '2s/Copyright (C) [0-9]\{4,4\} Free Software Foundation, Inc\./COPYRIGHT/' | + sed '1s/test-argp-version-etc (.*) .*/test-argp-version-etc (PROJECT) VERSION/' | diff -c $TMP - || ERR=1 rm $TMP exit $ERR -