1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Update a test case in malloc5.test to take into account that malloc()

sometimes returns slightly more space than requested.

FossilOrigin-Name: 3d5eae1c26353cdee89f31f1293b05c0edb494c775ba0912d9b4fda9ab0ef304
This commit is contained in:
dan
2018-06-02 17:00:57 +00:00
parent e893e2e4ee
commit 69a4b383a2
3 changed files with 13 additions and 10 deletions

View File

@ -174,8 +174,11 @@ do_test malloc5-2.2 {
execsql {
COMMIT;
}
list $nRelease $data
} [list $pgalloc [list 1 2 3 4 5 6]]
value_in_range $::pgalloc $::mrange $nRelease
} [value_in_range $::pgalloc $::mrange]
do_test malloc5-2.2.1 {
set data
} {1 2 3 4 5 6}
do_test malloc5-3.1 {
# Simple test to show that if two pagers are opened from within this