aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-03-21 17:14:03 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2012-03-21 17:14:03 +0000
commitb7ff6844a557b77c1c66f9d3e162246f954b0e31 (patch)
treec94c8426fb45d9a4682442c2cc3ad8825c4235d1
parentf4cf25cebdc982459ba995fe30d9dbd4f54f0626 (diff)
downloadgdbm-b7ff6844a557b77c1c66f9d3e162246f954b0e31.tar.gz
gdbm-b7ff6844a557b77c1c66f9d3e162246f954b0e31.tar.bz2
Bugfixes in test suite
* tests/create00.at: Use cmp -s || diff -u instead of plain diff, because the latter produces extra output on some systems (notably Solaris). * tests/dbmcreate00.at: Likewise. * THANKS: Add Bill Jones
-rw-r--r--ChangeLog8
-rw-r--r--THANKS1
-rw-r--r--tests/create00.at2
-rw-r--r--tests/dbmcreate00.at2
4 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fa19cfe..e77977c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-21 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * tests/create00.at: Use cmp -s || diff -u instead of plain
+ diff, because the latter produces extra output on some systems
+ (notably Solaris).
+ * tests/dbmcreate00.at: Likewise.
+ * THANKS: Add Bill Jones
+
2011-11-16 Sergey Poznyakoff <gray@gnu.org.ua>
Improve testgdbm
diff --git a/THANKS b/THANKS
index 56cc573..67ead39 100644
--- a/THANKS
+++ b/THANKS
@@ -4,5 +4,6 @@ Many people further contributed to GDBM by reporting problems,
suggesting various improvements or submitting actual code. Here is a list
of these people. Help us keep it complete and exempt of errors.
+Bill Jones <rj7252@att.com>
Matthew Burgess <matthew@linuxfromscratch.org>
Tanaka Akira <akr@fsij.org>
diff --git a/tests/create00.at b/tests/create00.at
index 2e92fe7..c428fdc 100644
--- a/tests/create00.at
+++ b/tests/create00.at
@@ -22,7 +22,7 @@ AT_SORT_PREREQ
num2word 1:1000 > input
gtload test.db < input
gtdump test.db | sort -k1,2 -n > output
-diff -u input output
+cmp -s input output || diff -u input output
])
AT_CLEANUP
diff --git a/tests/dbmcreate00.at b/tests/dbmcreate00.at
index f813061..fbfed52 100644
--- a/tests/dbmcreate00.at
+++ b/tests/dbmcreate00.at
@@ -23,7 +23,7 @@ AT_SORT_PREREQ
num2word 1:1000 > input
dtload test < input
dtdump test | sort -k1,2 -n > output
-diff -u input output
+cmp -s input output || diff -u input output
])
AT_CLEANUP

Return to:

Send suggestions and report system problems to the System administrator.