[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] version-etc-test: Make it work imported into projects.
From: |
Simon Josefsson |
Subject: |
[PATCH] version-etc-test: Make it work imported into projects. |
Date: |
Thu, 13 Aug 2009 13:11:12 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
Pushed, similar to earlier patched for argp-version-etc-test.
/Simon
---
ChangeLog | 5 +++++
tests/test-version-etc.sh | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ab44403..ba2ed7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-13 Simon Josefsson <address@hidden>
+
+ * tests/test-version-etc.sh: Don't fail on different
+ project/version.
+
2009-08-12 Bruno Haible <address@hidden>
Tests for modules 'getopt-posix', 'getopt-gnu'.
diff --git a/tests/test-version-etc.sh b/tests/test-version-etc.sh
index c88bb93..30b017d 100755
--- a/tests/test-version-etc.sh
+++ b/tests/test-version-etc.sh
@@ -22,7 +22,7 @@ export LC_ALL
ERR=0
cat > $TMP <<EOT
-test-version-etc (dummy) 0
+test-version-etc (PROJECT) VERSION
COPYRIGHT Free Software Foundation, Inc.
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.
@@ -33,6 +33,7 @@ EOT
./test-version-etc${EXEEXT} --version |
sed '2s/Copyright (C) [0-9]\{4,4\}/COPYRIGHT/' |
+ sed '1s/test-version-etc (.*) .*/test-version-etc (PROJECT) VERSION/' |
diff -c $TMP - || ERR=1
rm $TMP
--
1.6.3.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] version-etc-test: Make it work imported into projects.,
Simon Josefsson <=