![]() |
|
|||
0001 #!/bin/bash 0002 ## 0003 ## @brief Master runner of the test cases: 0004 ## - run-local.sh which tests crash cases what might happen locally for groups 0005 ## - run-suspend.sh worst case scenario in cluster that we loose the lock 0006 ## other node takes over and then we wake up. 0007 ## 0008 ## @file run.sh 0009 ## 0010 ## ----------------------------------------------------------------------------- 0011 ## Enduro/X Middleware Platform for Distributed Transaction Processing 0012 ## Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved. 0013 ## Copyright (C) 2017-2023, Mavimax, Ltd. All Rights Reserved. 0014 ## This software is released under one of the following licenses: 0015 ## AGPL (with Java and Go exceptions) or Mavimax's license for commercial use. 0016 ## See LICENSE file for full text. 0017 ## ----------------------------------------------------------------------------- 0018 ## AGPL license: 0019 ## 0020 ## This program is free software; you can redistribute it and/or modify it under 0021 ## the terms of the GNU Affero General Public License, version 3 as published 0022 ## by the Free Software Foundation; 0023 ## 0024 ## This program is distributed in the hope that it will be useful, but WITHOUT ANY 0025 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 0026 ## PARTICULAR PURPOSE. See the GNU Affero General Public License, version 3 0027 ## for more details. 0028 ## 0029 ## You should have received a copy of the GNU Affero General Public License along 0030 ## with this program; if not, write to the Free Software Foundation, Inc., 0031 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 0032 ## 0033 ## ----------------------------------------------------------------------------- 0034 ## A commercial use license is available from Mavimax, Ltd 0035 ## contact@mavimax.com 0036 ## ----------------------------------------------------------------------------- 0037 ## 0038 0039 export TESTNAME="test104_tmqfailover" 0040 0041 PWD=`pwd` 0042 if [ `echo $PWD | grep $TESTNAME ` ]; then 0043 # Do nothing 0044 echo > /dev/null 0045 else 0046 # started from parent folder 0047 pushd . 0048 echo "Doing cd" 0049 cd $TESTNAME 0050 fi; 0051 0052 ################################################################################ 0053 echo ">>> run-suspend.sh" 0054 ################################################################################ 0055 ./run-suspend.sh 0056 RET=$? 0057 0058 if [[ "X$RET" != "X0" ]]; then 0059 exit $RET 0060 fi 0061 0062 ################################################################################ 0063 echo ">>> run-local.sh" 0064 ################################################################################ 0065 ./run-local.sh 0066 RET=$? 0067 0068 if [[ "X$RET" != "X0" ]]; then 0069 exit $RET 0070 fi 0071 0072 # vim: set ts=4 sw=4 et smartindent: 0073
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |