summaryrefslogtreecommitdiffabout
path: root/tests
authorSergey Poznyakoff <gray@gnu.org.ua>2014-05-23 22:19:26 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2014-05-23 22:19:26 (GMT)
commit1ec6c29fcd22ee2fbf98e6d44b2ad40c7d2c1406 (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-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([
AT_SORT_PREREQ
num2word 1:1000 > input
gtload test.db < input
-gtdump test.db | sort -k1,2 -n > output
+gtdump test.db | sort -k1n,2n > output
cmp -s input output || diff -u input output
])
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
AT_SORT_PREREQ
num2word 1:1000 > input
dtload test < input
-dtdump test | sort -k1,2 -n > output
+dtdump test | sort -k1n,2n > output
cmp -s input output || diff -u input output
])
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
AT_SORT_PREREQ
num2word 1:10 | dtload test
dtdel test 8
-dtdump test | sort -k1,2 -n
+dtdump test | sort -k1n,2n
],
[0],
[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([
AT_SORT_PREREQ
num2word 1:10 | gtload test.db
gtdel test.db 8
-gtdump test.db | sort -k1,2 -n
+gtdump test.db | sort -k1n,2n
],
[0],
[1 one

Return to:

Send suggestions and report system problems to the System administrator.