diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-05-19 19:03:11 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-05-19 19:03:11 +0300 |
commit | 0f0c3dba3f676bf7a163586855f07ef427da3b4a (patch) | |
tree | 8805fce40824e051b4ccf74b98b95289e4c1563f /tests/Makefile.am | |
parent | 625a871bdd3fac33d236d63d6c053e969fdec9d7 (diff) | |
download | gdbm-0f0c3dba3f676bf7a163586855f07ef427da3b4a.tar.gz |
Catch more errors
* src/gdbmdump.c (_gdbm_dump_ascii): Break on errors
* src/gdbmopen.c (compute_directory_size): Remove unused argument.
(validate_header): Catch dir_size and dir_bits mismatches.
* src/mmap.c (_gdbm_mapped_lseek): Bail out on negative offsets.
* tests/dump03.at: New test.
* tests/dump04.at: New test.
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Add new tests.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index fc9fc42..b85110d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -67,6 +67,8 @@ TESTSUITE_AT = \ dump00.at\ dump01.at\ dump02.at\ + dump03.at\ + dump04.at\ create00.at\ delete00.at\ delete01.at\ |