aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
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
Diffstat (limited to 'tests')
-rw-r--r--tests/create00.at2
-rw-r--r--tests/dbmcreate00.at2
2 files changed, 2 insertions, 2 deletions
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.