From d41ed071672e9387ee096c0fac2d4a413515042b Mon Sep 17 00:00:00 2001
From: Arne Goedeke <el@laramies.com>
Date: Sat, 1 Nov 2014 11:14:02 +0100
Subject: [PATCH] Gdbm: fix testsuite

Calling ->create() to open the database after close() is not supported
anymore. Change the testsuite to reflect that.
---
 src/modules/Gdbm/testsuite.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/Gdbm/testsuite.in b/src/modules/Gdbm/testsuite.in
index e8b6f3604c..ea8cb28f99 100644
--- a/src/modules/Gdbm/testsuite.in
+++ b/src/modules/Gdbm/testsuite.in
@@ -4,7 +4,6 @@ START_MARKER
 cond_begin([[ master()->resolv("Gdbm") ]])
 
   test_true(programp(Gdbm.gdbm))
-  test_do(destruct(Gdbm.gdbm()))
 
   define([[GDBMTESTS]],
   [[
@@ -44,7 +43,7 @@ cond_begin([[ master()->resolv("Gdbm") ]])
     test_do(GDBMBASE->reorganize())
     test_do(GDBMBASE->sync())
     test_do(GDBMBASE->close())
-    test_do(GDBMBASE->create("test.gdbm"))
+    test_do(add_constant("GDBMBASE",Gdbm.gdbm("test.gdbm")))
   ]])
 
   GDBMTESTS
-- 
GitLab