[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Fri Apr 23 08:26:01 UTC 2021

The branch, master has been updated
       via  17294c6bb77 lib:ldb: Change page size of guidindexpackv1.ldb
       via  84cf5c15f9e lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream
      from  993ae77fba4 Fix sigsegv in check_stream in smbtorture smb2.streams.io


- Log -----------------------------------------------------------------
commit 17294c6bb77f091eef38b6c07fda5fde9eea9422
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Apr 22 11:09:03 2021 +0200

    lib:ldb: Change page size of guidindexpackv1.ldb
    As this is a TDB file, the file has been backed up using tdbbackup to
    get a different page size. This fixes running the repack.py test on
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Gary Lockyer <gary at catalyst.net.nz>
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Fri Apr 23 08:26:00 UTC 2021 on sn-devel-184

commit 84cf5c15f9e9a645579ed9b7c3ab238568cbc015
Author: Gary Lockyer <gary at catalyst.net.nz>
Date:   Thu Apr 22 10:03:53 2021 +0200

    lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream
    Signed-off-by: Gary Lockyer <gary at catalyst.net.nz>
    Reviewed-by: Andreas Schneider <asn at samba.org>


Summary of changes:
 lib/ldb/tests/guidindexpackv1.ldb       | Bin 1286144 -> 65536 bytes
 lib/ldb/tests/ldb_lmdb_free_list_test.c |   6 +++---
 2 files changed, 3 insertions(+), 3 deletions(-)

Changeset truncated at 500 lines:

diff --git a/lib/ldb/tests/guidindexpackv1.ldb b/lib/ldb/tests/guidindexpackv1.ldb
index 4c79dfedddd..96d783cb0dc 100644
Binary files a/lib/ldb/tests/guidindexpackv1.ldb and b/lib/ldb/tests/guidindexpackv1.ldb differ
diff --git a/lib/ldb/tests/ldb_lmdb_free_list_test.c b/lib/ldb/tests/ldb_lmdb_free_list_test.c
index 9b295460730..c87620e7a87 100644
--- a/lib/ldb/tests/ldb_lmdb_free_list_test.c
+++ b/lib/ldb/tests/ldb_lmdb_free_list_test.c
@@ -77,7 +77,7 @@
 #endif /* TEST_BE */
 const int RECORD_SIZE = 6144;
-const int ITERATIONS = 3;
+const int ITERATIONS = 192;
 struct test_ctx {
 	struct tevent_context *ev;
@@ -155,9 +155,9 @@ static int setup(void **state)
 				 "@IDX_DN_GUID: GUID\n"
-	 * Use a 64KiB DB for this test
+	 * Use a 1MiB DB for this test
-	const char *options[] = {"lmdb_env_size:65536", NULL};
+	const char *options[] = {"lmdb_env_size:1048576", NULL};
 	noconn_setup((void **)&test_ctx);

Samba Shared Repository

More information about the samba-cvs mailing list