From d7fde077b38e4065ed2d4a48632617fd0d3dfaf0 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 3 Aug 2009 15:58:20 +0200 Subject: [PATCH] Fix argp-version-etc-test module. --- ChangeLog | 5 +++++ tests/test-argp-version-etc-1.sh | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f1cf5e9a7..e2be535db5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-03 Simon Josefsson + + * tests/test-argp-version-etc-1.sh: Use EXEEXT. Don't fail on + different project/version. + 2009-08-02 Paolo Bonzini Bruno Haible diff --git a/tests/test-argp-version-etc-1.sh b/tests/test-argp-version-etc-1.sh index e0a95757f4..a3fef97e15 100755 --- a/tests/test-argp-version-etc-1.sh +++ b/tests/test-argp-version-etc-1.sh @@ -22,7 +22,7 @@ export LC_ALL ERR=0 cat > $TMP <. This is free software: you are free to change and redistribute it. @@ -31,11 +31,11 @@ There is NO WARRANTY, to the extent permitted by law. 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 - -- 2.30.2