diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-05-23 22:19:26 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-05-23 22:19:26 +0000 |
commit | 1ec6c29fcd22ee2fbf98e6d44b2ad40c7d2c1406 (patch) | |
tree | b3d48f7c175966923825e40fdadae073a92cf557 /tests | |
parent | 202897fc6cd655c966ede924645f437cdb5afaae (diff) | |
download | gdbm-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.at | 2 | ||||
-rw-r--r-- | tests/dbmcreate00.at | 2 | ||||
-rw-r--r-- | tests/dbmdel00.at | 2 | ||||
-rw-r--r-- | tests/delete00.at | 2 |
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([ | |||
21 | AT_SORT_PREREQ | 21 | AT_SORT_PREREQ |
22 | num2word 1:1000 > input | 22 | num2word 1:1000 > input |
23 | gtload test.db < input | 23 | gtload test.db < input |
24 | gtdump test.db | sort -k1,2 -n > output | 24 | gtdump test.db | sort -k1n,2n > output |
25 | cmp -s input output || diff -u input output | 25 | cmp -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 | |||
22 | AT_SORT_PREREQ | 22 | AT_SORT_PREREQ |
23 | num2word 1:1000 > input | 23 | num2word 1:1000 > input |
24 | dtload test < input | 24 | dtload test < input |
25 | dtdump test | sort -k1,2 -n > output | 25 | dtdump test | sort -k1n,2n > output |
26 | cmp -s input output || diff -u input output | 26 | cmp -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 | |||
22 | AT_SORT_PREREQ | 22 | AT_SORT_PREREQ |
23 | num2word 1:10 | dtload test | 23 | num2word 1:10 | dtload test |
24 | dtdel test 8 | 24 | dtdel test 8 |
25 | dtdump test | sort -k1,2 -n | 25 | dtdump 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([ | |||
21 | AT_SORT_PREREQ | 21 | AT_SORT_PREREQ |
22 | num2word 1:10 | gtload test.db | 22 | num2word 1:10 | gtload test.db |
23 | gtdel test.db 8 | 23 | gtdel test.db 8 |
24 | gtdump test.db | sort -k1,2 -n | 24 | gtdump test.db | sort -k1n,2n |
25 | ], | 25 | ], |
26 | [0], | 26 | [0], |
27 | [1 one | 27 | [1 one |