aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-05-23 22:19:26 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2014-05-23 22:19:26 +0000
commit1ec6c29fcd22ee2fbf98e6d44b2ad40c7d2c1406 (patch)
treeb3d48f7c175966923825e40fdadae073a92cf557 /tests
parent202897fc6cd655c966ede924645f437cdb5afaae (diff)
downloadgdbm-1ec6c29fcd22ee2fbf98e6d44b2ad40c7d2c1406.tar.gz
gdbm-1ec6c29fcd22ee2fbf98e6d44b2ad40c7d2c1406.tar.bz2
Compatibility bugfixes
* THANKS: Add Thomas Klausner. * src/gdbmtool.h: Rename ARG_ constants to GDBM_ARG_ * src/gdbmtool.c: Likewise. * tests/create00.at: Use modern sort -k syntax. * tests/dbmcreate00.at: Likewise. * tests/dbmdel00.at: Likewise. * tests/delete00.at: Likewise.
Diffstat (limited to 'tests')
-rw-r--r--tests/create00.at2
-rw-r--r--tests/dbmcreate00.at2
-rw-r--r--tests/dbmdel00.at2
-rw-r--r--tests/delete00.at2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/create00.at b/tests/create00.at
index c428fdc..173c864 100644
--- a/tests/create00.at
+++ b/tests/create00.at
@@ -21,7 +21,7 @@ AT_CHECK([
21AT_SORT_PREREQ 21AT_SORT_PREREQ
22num2word 1:1000 > input 22num2word 1:1000 > input
23gtload test.db < input 23gtload test.db < input
24gtdump test.db | sort -k1,2 -n > output 24gtdump test.db | sort -k1n,2n > output
25cmp -s input output || diff -u input output 25cmp -s input output || diff -u input output
26]) 26])
27 27
diff --git a/tests/dbmcreate00.at b/tests/dbmcreate00.at
index fbfed52..3aedf7b 100644
--- a/tests/dbmcreate00.at
+++ b/tests/dbmcreate00.at
@@ -22,7 +22,7 @@ AT_COMPAT_PREREQ
22AT_SORT_PREREQ 22AT_SORT_PREREQ
23num2word 1:1000 > input 23num2word 1:1000 > input
24dtload test < input 24dtload test < input
25dtdump test | sort -k1,2 -n > output 25dtdump test | sort -k1n,2n > output
26cmp -s input output || diff -u input output 26cmp -s input output || diff -u input output
27]) 27])
28 28
diff --git a/tests/dbmdel00.at b/tests/dbmdel00.at
index 8f76648..165e330 100644
--- a/tests/dbmdel00.at
+++ b/tests/dbmdel00.at
@@ -22,7 +22,7 @@ AT_COMPAT_PREREQ
22AT_SORT_PREREQ 22AT_SORT_PREREQ
23num2word 1:10 | dtload test 23num2word 1:10 | dtload test
24dtdel test 8 24dtdel test 8
25dtdump test | sort -k1,2 -n 25dtdump test | sort -k1n,2n
26], 26],
27[0], 27[0],
28[1 one 28[1 one
diff --git a/tests/delete00.at b/tests/delete00.at
index ad98034..38de2d7 100644
--- a/tests/delete00.at
+++ b/tests/delete00.at
@@ -21,7 +21,7 @@ AT_CHECK([
21AT_SORT_PREREQ 21AT_SORT_PREREQ
22num2word 1:10 | gtload test.db 22num2word 1:10 | gtload test.db
23gtdel test.db 8 23gtdel test.db 8
24gtdump test.db | sort -k1,2 -n 24gtdump test.db | sort -k1n,2n
25], 25],
26[0], 26[0],
27[1 one 27[1 one

Return to:

Send suggestions and report system problems to the System administrator.