From 54df2afaa61c6a03cbb4a33c9b90fa572b6d07b8 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 17 Dec 2016 21:28:53 -0800 Subject: Berkeley DB 4.8 with rust build script for linux. --- db-4.8.30/test/repmgr014.tcl | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 db-4.8.30/test/repmgr014.tcl (limited to 'db-4.8.30/test/repmgr014.tcl') diff --git a/db-4.8.30/test/repmgr014.tcl b/db-4.8.30/test/repmgr014.tcl new file mode 100644 index 0000000..7b999d9 --- /dev/null +++ b/db-4.8.30/test/repmgr014.tcl @@ -0,0 +1,44 @@ +# See the file LICENSE for redistribution information. +# +# Copyright (c) 2007-2009 Oracle. All rights reserved. +# +# $Id$ +# +# TEST repmgr014 +# TEST Basic repmgr in-memory test. +# TEST +# TEST Create an appointed master and two clients, process some records and +# TEST verify resulting databases. Put databases, logs and replication files +# TEST in-memory. +# TEST +# TEST Run for btree only because access method shouldn't matter. +# TEST +proc repmgr014 { method { niter 100 } { tnum "014" } args } { + + source ./include.tcl + + if { $is_freebsd_test == 1 } { + puts "Skipping replication manager test on FreeBSD platform." + return + } + + if { $is_windows9x_test == 1 } { + puts "Skipping replication test on Win9x platform." + return + } + + # Skip for all methods except btree. + if { $checking_valid_methods } { + return btree + } + if { [is_btree $method] == 0 } { + puts "Repmgr$tnum: skipping for non-btree method $method." + return + } + + set args [convert_args $method $args] + + puts "Repmgr$tnum ($method): Basic repmgr in-memory test." + basic_repmgr_test $method $niter $tnum 1 1 0 0 1 $args +} + -- cgit v1.2.3