From: Martin Schwenke Date: Thu, 14 Jun 2018 19:51:45 +0000 (+1000) Subject: ctdb-tests: Add a simple test for database traverses X-Git-Tag: ldb-1.3.6~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2d359358ddb20d57c76ac13376a1c1469be329e;p=thirdparty%2Fsamba.git ctdb-tests: Add a simple test for database traverses This tests that volatile databases traverse correctly, including the case where a record was updated on a non-lmaster node. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13499 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs (cherry picked from commit ec72fadecd5233234947633360fe46a3a4053c07) --- diff --git a/ctdb/tests/simple/79_volatile_db_traverse.sh b/ctdb/tests/simple/79_volatile_db_traverse.sh new file mode 100755 index 00000000000..50732cab330 --- /dev/null +++ b/ctdb/tests/simple/79_volatile_db_traverse.sh @@ -0,0 +1,94 @@ +#!/bin/bash + +test_info() +{ + cat <