You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/01/21 20:39:22 UTC

[1/3] geode git commit: GEODE-2332: Deleted deprecated tests scripts.

Repository: geode
Updated Branches:
  refs/heads/next-gen-native-client-software-grant 86df4a7c2 -> 03781bd1c


http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/using_runCSDriver
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/using_runCSDriver b/src/tests/cpp/scripts/using_runCSDriver
deleted file mode 100644
index d99d463..0000000
--- a/src/tests/cpp/scripts/using_runCSDriver
+++ /dev/null
@@ -1,161 +0,0 @@
-This file contains the setup and usage instructions for running the C#
-XML framework.
-
- 1. Ensure that .NET 2.0 runtime is installed on the client machines (available here:
-      http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en)
-
- 2. By default it uses plink to start clients on remote machines. So download plink.exe
-    and put it in your path. (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html).
-    Alternatively it can use passwordless ssh with public-key authentication by
-    specifying the "--auto-ssh" option. For this to work on Windows, the sshd daemon
-    must run as a domain admin user who has the permissions to access network shares
-    and other resources. For more information on configuring this mode see this:
-    http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html
-
- 3. Run the script setCLITrust.bat on all the windows machines where
-    clients will be created. This script is inside tests/scripts directory
-    of ThinClient branch.
-
- 4. Ensure that the user has permission to be able to create shares on the
-    machine where driver shall be invoked.
-
- 5. When using local console login (or RDP) run OS_BUILD_DIR/framework/csharp/bin/FwkDriver.exe
-    Usage: FwkDriver [OPTION] [<host1> ...]
-      <host1> ... are (optional) hostnames of the machines on which to
-       distribute the clients. Each host can optionally have the hostGroup
-       name prefixed to it with ':' e.g. CS:host1; the hostGroup should not
-       be '*' which implicitly stands for all hosts
-    Options are:
-      --xml=FILE     An XML file having the test to be executed.
-                     This option can be specified multiple times
-      --list=FILE    A file containing a list XML files having the tests to be executed
-      --pool=POOLOPTION  where POOLOPTIONs are poolwithendpoints/poolwithlocator to run the existing tests with pool option.
-      --at=TIME      The time at which to execute the regression test
-      --auto-ssh     Use ssh configured for passwordless login instead of plink as remote shell
-                     Note that this shall only work if sshd is running as a domain user having
-                     permissions to access network shares and other resources on given hosts.
-      --bbServer=HOST:PORT  The <host>:<port> to use for connecting to
-                            external TCP BlackBoard server. This is to be used
-                            when an external BBserver is being used instead
-                            of the internal one.
-      --bbPasswd     Use the external BBserver to get the passwords.
-      --driverPort   The port to use for running the Driver service.
-
-    At least one XML file should be specified using one of --xml or --list options
-    Both options can be provided in which case all the specified tests in
-    both will be run.
-
-    The --bbServer, --bbPasswd, --driverPort options should never be specified
-    directly since they are only useful when launching it through external
-    scripts like runCSDriver.sh
-
- 6. When using a ssh session run OS_BUILD_DIR/framework/csharp/bin/runCSDriver.sh.
-    Usage: runCSDriver.sh [OPTION] [<host1> ...]
-      <host1> ... are (optional) hostnames of the machines on which to
-       distribute the clients. Each host can optionally have the hostGroup
-       name prefixed to it with ':' e.g. CS:host1; the hostGroup should not
-       be '*' which implicitly stands for all hosts
-    Options are:
-      --xml=FILE     An XML file having the test to be executed.
-                     This option can be specified multiple times
-      --list=FILE    A file containing a list XML files having the tests to be executed
-      --pool=POOLOPTION  where POOLOPTIONs are poolwithendpoints/poolwithlocator to run the existing tests with pool option.
-      --database     This to be used for upload the data in database for regression history. Need to be mentioned at every regression run.
-      --at=TIME      The time at which to execute the regression test
-      --auto-ssh     Use ssh configured for passwordless login instead of plink as remote shell
-                     Note that this shall only work if sshd is running as a domain user having
-                     permissions to access network shares and other resources on given hosts.
-
-    At least one XML file should be specified using one of --xml or --list options
-    Both options can be provided in which case all the specified tests in
-    both will be run.
-
-
-Example usage:
-
-  OS_BUILD_DIR/framework/csharp/bin/FwkDriver --list=nativeNightly.list CS:pc33 CS:pc34 pc34 pc35 pc36 pc37 pc38
-or
-  OS_BUILD_DIR/framework/csharp/bin/runCSDriver.sh --list=nativeNightly.list CS:pc33 CS:pc34 pc34 pc35 pc36 pc37 pc38
-
-With Pool Option:
-   OS_BUILD_DIR/framework/csharp/bin/FwkDriver --pool=poolwithendpoints --list=nativeNightly.list CS:pc33 CS:pc34 pc34 pc35 pc36 pc37 pc38
-or 
-   OS_BUILD_DIR/framework/csharp/bin/FwkDriver --pool=poolwithlocator --list=nativeNightly.list CS:pc33 CS:pc34 pc34 pc35 pc36 pc37 pc38
-
-Note that the XML file path (given in --xml option or inside the list) should
-be relative to base xml directory like in C++.
-The list file itself should be the path relative to the current directory.
-
-The current directory can contain a gfcsharp.properties or gfcpp.properties
-file to set the default properties for the clients (preference is in the
-given order). The following variables can be set in file "gfcsharp.env" in the
-current directory (line starting with # indicates a comment and is ignored):
- 
-  FWK_WINLOGDIR="...":
-      root of the path where the logs have to be created in Windows notation
-  FWK_UNIXLOGDIR="...":
-      root of the path where unix cacheserver logs have to be created in
-      Unix notation; this is required when starting the cacheserver on a
-      UNIX machine (more on this below) and should point to the same
-      directory as FWK_WINLOGDIR for it to work correctly
-  GFE_DIR="...":
-      the path of the UNIX java cacheserver product; required when one of
-      server client machine lists a UNIX machine
-  GFE_CLASSPATH="...":
-      any additional CLASSPATH for the UNIX java cacheservers
-  GF_JAVA="..."
-      Provied the java path ( e.g. /gcm/where/jdk/1.6.0_7/x86_64.linux/bin/java ).
-  GF_JAVA.WIN="..."
-      Provide the java path for windows to execute LatestProp class file( e.g. //inf1/shared/jdk/1.6.0_7/x86_64.linux/bin/java ).
-  GFE_DIR.WIN="..."
-      Provide java cacheserver product path for windows to execute LatestProp class file ( e.g. //bass/bass1/users/rkumar/project/trunk/product ).
-      
-
-Note that the gfcsharp.env is not a shell script and no "export" or other
-commands should be given. Any other environment variables like CLASSPATH
-can also be provided here (note that the local path for the jars can be
-provided in CLASSPATH since that shall be converted to the share format
-by the framework automatically) or other environment variables specified
-in OS_BUILD_DIR/framework/csharp/bin/run.env can be overridden here.
-The double quotes around the values are optional even if there are spaces.
-
-If no FWK_WINLOGDIR is provided then by default the logs will be created
-in OS_BUILD_DIR/tests/results/csharpfwk. A subdirectory named
-FwkCS_<timestamp directory> shall be created that contains the logs for a
-particular run and a link to the latest timestamp directory will also be
-created. There will be separate sub directories created for separate XMLs
-inside this directory, and each sub-directory for an XML will contain a
-separate sub-directory for each test listed in the XML. The directory name
-will be the name of the test. The top-level directory shall contain a
-Driver.log file which records all the actions taken by the driver in that
-particular run, and at the end of the run an error.report shall be generated
-inside the top-level directory as well as inside each of the XML sub-directories.
-
-Using C# framework it is possible to launch java servers on linux/solaris machines as follows:
-
-    * Specify FWK_LOGDIR.WIN and FWK_LOGDIR.LIN/FWK_LOGDIR.SUN to point to the same
-      network directory (e.g. //ns320/users/swale/csresults and /home/swale/csresults
-      respectively) in gfcsharp.env
-    * Specify the GFE_DIR.LIN/GFE_DIR.SUN to point to the location of unix cacheserver
-      (e.g. /gcm/where/cplusplus/thirdparty/linux/gfe/product) in gfcsharp.env
-      For each of the above variables use <var>.<host type> where host type can
-      be one of WIN, LIN or SUN
-    * Now you can use any unix hostname for the CS hostgroup. However, note that
-      there should be at least one windows machine in that hostgroup that will
-      actually run the C# code that will perform setup/start/stop of
-      cacheservers remotely. For example:
-       FwkDriver --xml=Native/failoverTest.xml CS:bass CS:trout CS:pc34 pc31 pc32
-    * To ensure that all servers are started on linux servers use the first
-      host as windows one and all others as linux ones. The framework has been
-      modified so as to start choosing the servers to use from the second one
-      in the list. Also it means that the number of linux hosts in the CS hostgroup
-      should be equal to the number of clients being started in that group,
-      otherwise cycling of clients among hosts will cause servers to be
-      started on windows hosts. For example:
-        FwkDriver --xml=RemoteQuery/failoverQueryTest.xml CS:pc33 CS:bass CS:trout pc33 pc34 pc36
-      This will start JCS1 on pc33 but the actual servers shall be launched
-      from the second server in the host-group list i.e. bass, so that the two 
-      servers will be started on bass and trout respectively from pc33, while
-      other clients will be launched on pc33/pc34/pc36
-This is useful for regressions where windows servers can go OutOfMemory
-due to limited amount of available memory.

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/using_runDriver
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/using_runDriver b/src/tests/cpp/scripts/using_runDriver
deleted file mode 100644
index c9fcee0..0000000
--- a/src/tests/cpp/scripts/using_runDriver
+++ /dev/null
@@ -1,166 +0,0 @@
-This file describes the command line arguments used by the runDriver script,
-the files that may be used as values for some of the command line arguments,
-and shows some common uses for runDriver.
-
-First the arguments runDriver accepts:
-
-This option indicates that the debug build executables and libraries should be 
-used. This will affect the paths used in setting PATH and LD_LIBRARY_PATH.
-  -D
-
-These next four all cause valgrind to be used, and each will cause a different tool
-to be used. These are mutually exclusive, but the script does not error out.
-It is simply a "first one wins" situation. After the tool to use has been set,
-subsequent options that would otherwise set are just ignored.
-You should just use one of these next four options:
-  -M -- use valgrind with memcheck
-  -C -- use valgrind with cachegrind
-  -H -- use valgrind with massif
-  -P -- use valgrind with callgrind
-
-This option allows you to specify a particular xml test file to include in the run.
-This option may be used multiple times, and can be used in addition to the -l option.
-The xml file should have path information relative to the <build_results>/framework/xml directory.
-  -x <xml file> 
-
-This option allows you to specify a text file containing a number of text xml files.
-Each xml file in this file will be added to the test, just as though it had been
-specified using the -x option. This means the path relative to ..../framework/xml
-is required. This is used for regression testing.
-  -l <file containing names of xml files> -
-
-This option specifies how many times each test should be run. Each xml test file
-will be processed this number of times. The default is 1. This is used in perf testing
-where a single run is not adequate to generate reliable numbers.
-  -r <n>  
-
-This option causes the framework to start a unicast locator for topic resolution,
-nstead of using the default multicast topic resolution. This will cause a 
-different locator to be used for each run of an xml test, to prevent pollution 
-from leftover processes that the framework failed to kill.
-  -u
-
-This option causes the framework to start the test with pool along with the specified pool option
-  -p <pool option>
-where <pool option>= poolwithendpoints/poolwithlocator
-
-This option causes the test to use statically built executables and libraries,
-instead of the dynamically linked. This is used in regression tests to make sure
-both types are tested. This will affect the paths used in setting PATH 
-and LD_LIBRARY_PATH.
-  -s 
-
-This option allows valgrind to be used with only the clients specified, 
-instead of trying to run all client under valgrind. This option can be specified
-multiple times, allowing any number of clients to be run under valgrind.
-  -t client_id
-
-The next three options allow you specify the location of the build to use on a
-particular OS. The platform that runDriver is executed on will default to the
-build that runDriver is being executed out of. The specification is in the form
-of hostname:absolute_path_to_build with the directory above product being the 
-location to specify.
-  -L <host>:<build_location> -- linux build to use
-  -S <host>:<build_location> -- solaris build to use
-  -W <host>:<build_location> -- windows build to use
-
-This option allows you to specify the location of the valgrind install. 
-Not very sophisticated, only one location is active for a entire test run. 
-The default location is /gcm/where/cplusplus/perftools/valgrind.
-  -V path_to_valgrind
-
-This option allows you to specify what directory will be used as the base location
-for the test run, all files and directories created as part of the run will be 
-under this location. 
-The default is the current working directory when runDriver is invoked.
-  -d test_directory 
-
-This option allows email recipients to be specified. The content of the error.report
-file for the entire test run will be emailed to the specified recipients.
-This option may be used multiple times to specify multiple recipients.
-  -m mail_address 
-
-This option allows you to specify a file containing additional command line
-arguments. Its purpose is to allow you place common, or lengthy arguments into
-a file, and use that file whenever appropriate by using this option. Any
-argument is allowed, with the exception of hostnames, as they do not have a option
-that prefaces them. You can include the -h option that specifies a file with host
-names in it. The file is consumed and its arguments processed as soon as it is 
-encountered on the commandline. So where it appears relative to other command line
-options may be important. This option may be used multiple times. You could have
-different options files for different purposes, and they may be used in 
-conjunction with each other at times.
-  -o options_file  
-
-It is important to note some behaviors that result from using an options file. 
-Some arguments are "last one wins" arguments, others are "first one wins", this 
-causes the order of the arguments on the command line relative to the -o option 
-to be important. Some arguments cannot be unset, such as the -D, -M, etc options. 
-If you set this in an options file, you cannot override it on the command line, 
-even after the -o. Some arguments can appears many times, their content 
-aggregating with the previous occurances. This prevents you from overriding 
-something like email recipients on the command line. Whatever is on the command 
-line is simply added to anything that may have been specified through the use of 
-the -o option.
-
-This option allows you to place the hosts you wish to use into a file, and just 
-specify that file on the command line.
-  -h <file_containing_host_name> 
-  
-Lastly, rundriver expects all arguments after the options to be host names to 
-use in the test. It aggregates these names with any hosts that might have been
-specified using the -h option. If no host are specified in either manner, the
-host runDriver is executing on will be the only host used in the test.
-  host list 
-
-This option allows you to upload the regression results into database table to keep the regression history.
-  -R
-Some examples of runDriver use:
-
-~/mybuild/framework/scripts/runDriver -x Misc/quickTest.xml \
-  -W tkeith-desk:/cygdrive/C/Temp/Built/trunk tiny tkeith-desk hs20a
-
-This is an example of needing to run a single test, using the current working 
-directory as the test directory, and using a mix of linux and windows machines.
-
-
-~/mybuild/framework/scripts/runDriver -x Perf/perfBenchmark.xml -r 10 \
-  -h grid_machines.txt
-
-Is an example of how runDriver could be used to run perfBenchmark 10 times on a 
-set of machines in an Intel ( or other vendor ) lab.
-
-~/mybuild/framework/scripts/runDriver -x Native/getAll.xml -p poolwithendpoints bensa
-
-~/mybuild/framework/scripts/runDriver -x Native/getAll.xml -p poolwithlocator bensa
-
-~/mybuild/framework/scripts/runDriver -x Native/getAll.xml bensa
-
-The above 3 examples  will enable the xmls to run with pool with various pool options ie 
-The 1st one will run with pool,with serverendpoints
-2nd one with pool,with locators and
-3rd will run without pool which is the default.
-
-/export/tiny1/users/tkeith/regression/framework/scripts/runDriver \
-  -l short_nightly.list \
-  -h /export/tiny2/users/tkeith/regression/regHostsA.txt \
-  -o /export/tiny2/users/tkeith/regression/regEmail.txt \
-  -o /export/tiny2/users/tkeith/regression/regBuilds.txt
-
-This is an example of how it might be used for regression runs. 
-The list of xml tests are in /export/tiny1/users/tkeith/regression/framework/xml/short_nightly.list
-and the list of hosts to use is in regHostsA.txt
-and the list of email recipients is in regEmail.txt
-and the builds to use in the regression run are in regBuilds.txt.
-
-
-It is important to note that runDriver has no option to do an git pull and
-clean build. This is handled by the runBuild script. In a cron, it should be run 
-prior to the regression test themselves, allowing enough time for it to complete 
-prior to the regression tests starting.
-
-
-The files specified by the -o -h and -l options are allowed to have comments.
-The comments are indicated by a # symbol. The contents of these files 
-will have everything between a # and the end of line, stripped before the 
-file is consumed. this allows trailing comments in addition to whole line comments.

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/using_scalePerfDriver
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/using_scalePerfDriver b/src/tests/cpp/scripts/using_scalePerfDriver
deleted file mode 100644
index c1ace97..0000000
--- a/src/tests/cpp/scripts/using_scalePerfDriver
+++ /dev/null
@@ -1,6 +0,0 @@
-#Steps to run yet to come.
-#use runScalePerf script for cpp run
-Example for cpp run: Need 8 hosts to run the tests
-/export/w1-gst-dev01a/users/rkumar/project/ThinClient/build-artifacts/linux/framework/scripts/runScalePerf /export/w1-gst-dev01a/users/rkumar/project/ThinClient/build-artifacts/linux /export/gcm/where/jdk/1.6.0_26/x86_64.linux/bin/java /gcm/where/gemfire/70/snaps.Any/snapshots.34944/gf70MAINTsancout/product . w1-gst-dev01 w1-gst-dev02 w1-gst-dev03 w1-gst-dev04 w1-gst-dev05 w1-gst-dev06 w1-gst-dev07 w1-gst-dev08
-#use FwkDriver.exe for c# run
-OS_BUILD_DIR/framework/csharp/bin/FwkDriver.exe --list=scale.list CS1:w1-gst-dev01 CS1:w1-gst-dev02 CS1:w1-gst-dev03 CS1:w1-gst-dev04 CS2:w1-gst-dev05 CS2:w1-gst-dev06 CS3:w1-gst-dev07 CS3:w1-gst-dev08

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/waitForBBKey.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/waitForBBKey.sh b/src/tests/cpp/scripts/waitForBBKey.sh
deleted file mode 100755
index 3d97a4a..0000000
--- a/src/tests/cpp/scripts/waitForBBKey.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-[ "$#" -gt 3 -o "$#" -lt 2 ] && echo "`basename "$0"`: Incorrect number[$#] of args: $@." && exit 1
-
-# maximum wait for 30min if no time is given
-maxSecs=1800
-[ "$#" -eq 3 ] && maxSecs="$3"
-
-bbVal="`FwkBB get "$1" "$2" 2>/dev/null`"
-numIters=1
-while [ -z "${bbVal}" ]; do
-  sleep 1
-  if [ "${numIters}" -ge "${maxSecs}" ]; then
-    break
-  fi
-  ((numIters++))
-  bbVal="`FwkBB get "$1" "$2" 2>/dev/null`"
-done
-
-echo ${bbVal}
-
-if [ -z "${bbVal}" ]; then
-  exit 1
-else
-  exit 0
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/waitForTask.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/waitForTask.sh b/src/tests/cpp/scripts/waitForTask.sh
deleted file mode 100755
index 8a86965..0000000
--- a/src/tests/cpp/scripts/waitForTask.sh
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/bash
- 
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-tag=""
-numClients=1
-while getopts ":t:c:p:m:" op
-do
-  case $op in
-   ( "m" ) ((scnt++)) ; waitMinutes="$OPTARG" ;;
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numClients="$OPTARG" ;;
-   ( "p" ) ((scnt++)) ; seqid="$OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-
-# Where are we now?
-currDir=`pwd`
-bnam=`basename $currDir`
-
-mkdir -p ../pids/$GF_FQDN/$bnam
-echo "${$}" > ../pids/$GF_FQDN/$bnam/waitForTask_pid
-
-# cnt specified which client to setup:
-cnt=$numClients
-
-# Base for dir names
-gfdb=GFEJC${tag:+_}$tag
-
-tdir=${gfdb}_$cnt
-if [ ! -d $tdir ]
-then
-  echo $tdir does not exist.
-  exit 0
-fi
-
-grep "seqid $seqid finished" $currDir/$tdir/JC${tag:+_}$tag${cnt:+_}$cnt.log
-status=$?
-num=0
-sleepTime=10  ## Note: changing this impacts the calculation used to set sleepsPerMinute
-sleepsPerMinute=6
-((limit=$waitMinutes*$sleepsPerMinute))
-((logLimit=$limit/3))
-while [ $status -ne 0 ]
-do 
-  sleep $sleepTime
-  ((num++))
-  if [ $num -gt $limit ]
-  then
-    echo "ERROR:  Wait for task timed out after $waitMinutes minutes."
-    exit 1
-  fi
-  ((val=$num%$logLimit))
-  if [ $val -eq 0 ]
-  then
-    ((minutes=$num/$sleepsPerMinute))
-    echo "Wait for task has waited for $minutes minutes."
-  fi
-  grep "seqid $seqid finished" $currDir/$tdir/JC${tag:+_}$tag${cnt:+_}$cnt.log
-  status=$?
-done
-
-exit 0


[3/3] geode git commit: GEODE-2332: Deleted deprecated tests scripts.

Posted by jb...@apache.org.
GEODE-2332: Deleted deprecated tests scripts.


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/03781bd1
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/03781bd1
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/03781bd1

Branch: refs/heads/next-gen-native-client-software-grant
Commit: 03781bd1c0013950dfc7cda5d90098b31f07312f
Parents: 86df4a7
Author: Jacob Barrett <jb...@pivotal.io>
Authored: Sat Jan 21 12:38:18 2017 -0800
Committer: Jacob Barrett <jb...@pivotal.io>
Committed: Sat Jan 21 12:38:18 2017 -0800

----------------------------------------------------------------------
 src/tests/cpp/scripts/cdb.pl                |   94 --
 src/tests/cpp/scripts/cron.sample           |    2 -
 src/tests/cpp/scripts/cronbeaverton.sh      |   61 -
 src/tests/cpp/scripts/cronbeaverton.txt     |    9 -
 src/tests/cpp/scripts/cronpune.txt          |    9 -
 src/tests/cpp/scripts/gdb.pl                |   88 --
 src/tests/cpp/scripts/genCSFwkReport.sh     |  111 --
 src/tests/cpp/scripts/genCSV.sh             |   62 -
 src/tests/cpp/scripts/genericFunctions.sh   |  203 ----
 src/tests/cpp/scripts/killJavaServer.sh     |   53 -
 src/tests/cpp/scripts/killJavaServers.sh    |   63 -
 src/tests/cpp/scripts/nightly-batch.sh      |  145 ---
 src/tests/cpp/scripts/piper.sh              |   44 -
 src/tests/cpp/scripts/runBatch.sh           |  311 -----
 src/tests/cpp/scripts/runBuild.sh           |  113 --
 src/tests/cpp/scripts/runCPPCSDriver.sh     |  103 --
 src/tests/cpp/scripts/runCSDriver.sh        |  145 ---
 src/tests/cpp/scripts/runCSFunctions.sh     |  216 ----
 src/tests/cpp/scripts/runCSTests.sh         |  397 -------
 src/tests/cpp/scripts/runDriver.sh          |  181 ---
 src/tests/cpp/scripts/runDriverFunctions.sh | 1344 ----------------------
 src/tests/cpp/scripts/runPerfTest.sh        |   58 -
 src/tests/cpp/scripts/runScalePerf.sh       |   60 -
 src/tests/cpp/scripts/setCLITrust.bat       |    1 -
 src/tests/cpp/scripts/setupJavaClients.sh   |  150 ---
 src/tests/cpp/scripts/setupJavaServers.sh   |  245 ----
 src/tests/cpp/scripts/startCSFwk.sh         |  128 ---
 src/tests/cpp/scripts/startClient.sh        |   65 --
 src/tests/cpp/scripts/startJavaClients.sh   |   76 --
 src/tests/cpp/scripts/startJavaServers.sh   |  218 ----
 src/tests/cpp/scripts/stopAll.sh            |   82 --
 src/tests/cpp/scripts/stopCS.sh             |   80 --
 src/tests/cpp/scripts/stopCSFwk.sh          |   34 -
 src/tests/cpp/scripts/stopClient.sh         |   45 -
 src/tests/cpp/scripts/stopJavaServers.sh    |   72 --
 src/tests/cpp/scripts/stopProcess.sh        |   47 -
 src/tests/cpp/scripts/using_runCPPCSDriver  |   40 -
 src/tests/cpp/scripts/using_runCSDriver     |  161 ---
 src/tests/cpp/scripts/using_runDriver       |  166 ---
 src/tests/cpp/scripts/using_scalePerfDriver |    6 -
 src/tests/cpp/scripts/waitForBBKey.sh       |   26 -
 src/tests/cpp/scripts/waitForTask.sh        |   72 --
 42 files changed, 5586 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/cdb.pl
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/cdb.pl b/src/tests/cpp/scripts/cdb.pl
deleted file mode 100644
index 3651b06..0000000
--- a/src/tests/cpp/scripts/cdb.pl
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw ($CDBPATH $OUTPUT_DIR $THREAD_UNDERSCORE $THREAD_DEMARCATOR $PID $CDB @ARGV %ENV);
-use POSIX;
-
-$PID = $ARGV[0];
-if ( ! defined $PID ) {
-  print "Invalid argument: The script takes pid as argument\n";
-  exit 1;
-}
-
-chomp $PID;
-
-if ($PID !~ /^\d+$/) {
-  print "Invalid argument: The script takes pid as argument\n";
-  exit 1;
-}
-
-$OUTPUT_DIR = ".";
-
-$THREAD_UNDERSCORE = "\\n**************\\n";
-$THREAD_DEMARCATOR = "\\n\\n=======================================================================\\n\\n";
-
-my ($sysname, $nodename, $release, $version, $machine) = POSIX::uname();
-
-if (exists $ENV{CDB}) {
-  if ($sysname =~ /^CYGWIN.*$/) {
-    $CDBPATH = `cygpath "$ENV{CDB}"`;
-    chomp $CDBPATH;
-  } else {
-    $CDBPATH = $ENV{CDB};
-  }
-} else {
-    $CDBPATH = `cygpath "$ENV{GFCPP}/../framework/bin"`;
-    chomp $CDBPATH;
-}
-$ENV{PATH} .= ':' . $CDBPATH;
-
-$CDB = "cdb.exe";
-
-my $COMMAND_FILE = $OUTPUT_DIR . "/" . "cdbcomm." . $PID;
-
-open(COMM, ">$COMMAND_FILE") || do {
-  print "could not open the command file $COMMAND_FILE";
-  exit 1;
-};
-print COMM "~\n";
-print COMM "q\n";
-
-close COMM;
-
-my $CDBCOMMAND = "$CDB -p $PID -pd -cf $COMMAND_FILE";
-
-my @thread_info = `$CDBCOMMAND`;
-
-open(COMM, ">$COMMAND_FILE") || do {
-  print "could not open the command file $COMMAND_FILE";
-  exit 1;
-};
-
-foreach my $thr_line(@thread_info) {
-  if ($thr_line =~ /\s+(\d+)\s+Id:\s*([^\s]+).+/i) {
-    my $thrd = $1;
-    my $thrd_id = $2;
-    my @id_split = split('\.', $thrd_id);
-    my $pid = hex($id_split[0]);
-    $thrd_id = hex($id_split[1]);
-    print COMM ".printf \"$THREAD_UNDERSCORE\\n\"\n";
-    print COMM ".printf \"THREAD $thrd [PID $pid, ID $thrd_id]\\n\"\n";
-    print COMM ".printf \"$THREAD_UNDERSCORE\\n\"\n";
-    print COMM "~${thrd}e kp\n";
-    print COMM ".printf \"$THREAD_DEMARCATOR\\n\"\n";
-  }
-}
-print COMM "q\n";
- 
-close COMM;
-
-my @output = `$CDBCOMMAND`;
-
-my $start = 0;
-
-foreach my $out_line(@output) {
-  if ($out_line =~ /^[0-9]+:[0-9]+\>/) {
-    $start = 1;
-  }
-  elsif ($start == 1 && $out_line !~ /^quit:/) {
-    chomp $out_line;
-    print $out_line . "\r\n";
-  }
-}
-
-unlink $COMMAND_FILE;

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/cron.sample
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/cron.sample b/src/tests/cpp/scripts/cron.sample
deleted file mode 100755
index ad2d438..0000000
--- a/src/tests/cpp/scripts/cron.sample
+++ /dev/null
@@ -1,2 +0,0 @@
-# Do a fresh build and take the standard options from cronbeaverton.txt
-0 20 * * * /export/tiny1/users/tkeith/regression/tests/scripts/runBatch.sh -o /export/tiny1/users/tkeith/regression/tests/scripts/cronbeaverton.txt hoth tiny sam gloin

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/cronbeaverton.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/cronbeaverton.sh b/src/tests/cpp/scripts/cronbeaverton.sh
deleted file mode 100755
index eed665e..0000000
--- a/src/tests/cpp/scripts/cronbeaverton.sh
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/bin/bash
-
-# Arguments:
-# -b ( optional ) do git pull and clean build before running test
-# name_of_test_list ( optional ) name of file in $BUILDDIR/tests/xml/Regression containing names of tests to run
-#            defaults to name specified below, see TESTLIST
-# list of hosts to use for test ( optional ) defaults to list below, see TESTHOSTS
-
-RESULTDRIVE=tiny2
-BUILDDRIVE=tiny1
-BUILDHOST=tiny
-
-TESTLIST=shortNightly.list
-TESTHOSTS="hoth tiny sam gloin"
-
-RESULTSDIR=/export/${RESULTDRIVE}/users/tkeith/regression
-BUILDDIR=/export/${BUILDDRIVE}/users/tkeith/regression
-
-doBuild=no
-
-if [ $# -gt 0 ]
-then
-  doBuild=$1
-fi
-
-if [ $doBuild == "-b" ]
-then
-  shift
-  echo "Updating checkout and beginning clean build at " `date`
-  ssh -x -q $BUILDHOST "cd $BUILDDIR && git pull && ./build.sh clean build-product tests ; if [ $? -eq 0 ]; then echo 'Build successful.'; else echo 'Build failed.'; fi" > build${BUILDHOST}.log 2>&1
-  ssh -x -q $BUILDHOST "cd $BUILDDIR && cat build-artifacts/lastUpdate.txt"
-  echo "Build complete at " `date`
-  echo ""
-fi
-
-if [ $# -gt 0 ]
-then
-  list=$1
-  if [ -f $BUILDDIR/build-artifacts/linux/framework/xml/$list ]
-  then
-    TESTLIST=$list
-    shift
-  fi
-fi
-
-if [ $# -gt 0 ]
-then
-  TESTHOSTS="$*"
-fi
-
-logPrefix=`date +'%y-%m-%d_%H-%M-%S_'`
-OUTDIR=$RESULTSDIR/${logPrefix}regression-results
-mkdir -p $OUTDIR
-
-$BUILDDIR/tests/scripts/nightly-batch.sh \
-    $BUILDDIR/build-artifacts/linux/framework \
-    $OUTDIR \
-    $BUILDDIR/build-artifacts/linux/framework/xml/$TESTLIST \
-    $TESTHOSTS \
-    | tee $OUTDIR/cronreg.log 2>&1
-

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/cronbeaverton.txt
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/cronbeaverton.txt b/src/tests/cpp/scripts/cronbeaverton.txt
deleted file mode 100644
index ed04d45..0000000
--- a/src/tests/cpp/scripts/cronbeaverton.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-# lines starting with a # are comments
--p /export/tiny1/users/tkeith/regression
--d /export/tiny2/users/tkeith/regression/build-artifacts/linux
--l shortNightly.list
--m tim.keith@gemstone.com
--m sudhir.menon@gemstone.com
--m matthew.splett@gemstone.com
--m qing.he@gemstone.com
--m jdai@gemstone.com

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/cronpune.txt
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/cronpune.txt b/src/tests/cpp/scripts/cronpune.txt
deleted file mode 100644
index a0b7105..0000000
--- a/src/tests/cpp/scripts/cronpune.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-# lines starting with a # are comments
--p /export/crab2/users/matthews/svn/gfcpp/regression/build-artifacts/linux
--d /export/crab2/users/matthews/svn/gfcpp/regression/results
--l batchOne.list
--m tim.keith@gemstone.com
--m sudhir.menon@gemstone.com
--m matthew.splett@gemstone.com
--m qing.he@gemstone.com
--m jdai@gemstone.com

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/gdb.pl
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/gdb.pl b/src/tests/cpp/scripts/gdb.pl
deleted file mode 100755
index 65b92fe..0000000
--- a/src/tests/cpp/scripts/gdb.pl
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/perl -w
-
-use File::Basename;
-
-use lib dirname(__FILE__);
-
-use strict;
-
-use vars qw ($OUTPUT_DIR $OUTPUT_FILE $NL $THREAD_UNDERSCORE $THREAD_DEMARCATOR $PID $GDB @ARGV
-             $USESTDOUT );
-
-$PID = $ARGV[0];
-if ( ! defined $PID ) {
-  print "Invalid argument: The script takes pid as argument\n";
-  exit 1;
-}
-
-chomp $PID;
-
-if ($PID !~ /^\d+$/) {
-  print "Invalid argument: The script takes pid as argument\n";
-  exit 1;
-}
-
-# Default behaviour .... output in a file
-$USESTDOUT = 0;
-
-if ( scalar(@ARGV) > 1 ) {
-  $USESTDOUT = 1;
-}
-
-
-$OUTPUT_DIR = ".";
-$OUTPUT_FILE = $OUTPUT_DIR . "/" . "gdbout." . $PID;
-
-$THREAD_UNDERSCORE = "**************";
-$THREAD_DEMARCATOR = "=======================================================================";
-$NL = "\n";
-
-require GDB;
-
-$GDB = "gdb -p";
-
-our $gdb = new Devel::GDB (-execfile => "$GDB $PID") ;
-
-my $INFO_THREADS = $gdb->get("info threads");
-
-my @threads = split '\n', $INFO_THREADS;
-
-my $numOfThreads = scalar @threads;
-
-if ( $numOfThreads > 0 ) {
-  
-  my $outstring = "";
-
-  $outstring .= $NL . $THREAD_DEMARCATOR . $NL;
-  foreach my $thr_line(@threads) {
-    $outstring .= $thr_line .  $NL;
-  }
-  $outstring .=  $THREAD_DEMARCATOR . $NL;
-  foreach my $thr_line(@threads) {
-    #  1 Thread -1218576256 (LWP 12154
-    if ($thr_line =~ /\s+(\d+)\s+Thread\s+(\d+).+/) {
-      my $thrd = $1;
-      my $thrd_id = $2;
-      $gdb->get("thread $thrd");
-      my $thrd_bt = $gdb->get("bt") ;
-      $outstring .= "THREAD " . $thrd . " " . $thrd_id . $NL . $THREAD_UNDERSCORE . $NL . $thrd_bt . $THREAD_DEMARCATOR . $NL;
-    }
-  }
- 
-  if ($USESTDOUT == 0)
-  {
-    open(OUT, ">$OUTPUT_FILE") || do {
-      print "could not open the output file $OUTPUT_FILE";
-      $gdb -> get ( 'detach' ) ;
-      exit 1;
-    };
-
-    print OUT $outstring;
-    close OUT;
-  } else
-  {
-    print STDOUT $outstring;
-  }
-}
-
-$gdb -> get ( 'detach' ) ;

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/genCSFwkReport.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/genCSFwkReport.sh b/src/tests/cpp/scripts/genCSFwkReport.sh
deleted file mode 100755
index a2e9637..0000000
--- a/src/tests/cpp/scripts/genCSFwkReport.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-[ "$#" = "0" ] && { echo "Please give the log directory path as an argument"; exit 1; }
-
-DIRNAME="`dirname "$0"`"
-LOGDIR="$1"
-shift
-if [ ! -d "${LOGDIR}" ]; then
-  echo "Error:: LogDir ${LOGDIR} does not exit."
-  exit 1
-fi
-
-LOGPOSTFIX="$1"
-shift
-POOLOPTION=
-if [ $1 != "0" ]; then
-  POOLOPTION="$1"
-fi
-shift
-is64bit=__IS_64_BIT__
-if [ $is64bit -eq 1 ]; then
-  ARCH="64"
-else
-  ARCH="32"
-fi
-
-runLatestProp() {
-  ## executing LatestProp.java for fatching latest java properties
-  #LCP_PATH="$fwkbuild/framework/lib/javaobject.jar:$GFE_DIR/lib/gemfire.jar"
-  gcmdir=`echo $GF_JAVA | sed 's/where.*/where/'` # gcmdir = /export/gcm/where or /gcm/where
-  LCP_PATH="${GFBASE}/framework/lib/javaobject.jar"
-  if type -p cygpath >/dev/null 2>/dev/null; then
-    LCP_PATH="`cygpath -p -m "$LCP_PATH"`"
-    LCP_PATH="${GFBASE}/framework/lib/javaobject.jar;$GFE_DIR/lib/gemfire.jar;${GFBASE}/framework/lib/testdb.jar;$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  else
-   LCP_PATH="$LCP_PATH:$GFE_DIR/lib/gemfire.jar:${GFBASE}/framework/lib/testdb.jar:$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  fi
-  #echo $GF_JAVA -cp "$LCP_PATH" javaobject.LatestProp >> $TESTDIR/latest.prop
-  ${GF_JAVA} -cp "${LCP_PATH}" javaobject.LatestProp >> $TESTDIR/latest.prop
-}
-
-LOGPREFIX=`date +'%y-%m-%d_%H-%M-%S'`
-RUN_REPORT="${LOGDIR}/error.report"
-FullCsvReport="${LOGDIR}/regression-$LOGPOSTFIX.csv"
-rm -f "${RUN_REPORT}"
-TESTDIRS="$@"
-for tDir in ${TESTDIRS}; do
-  TESTDIR="${LOGDIR}/${tDir}"
-  if [ -d "${TESTDIR}" ]; then
-    REPORT="${TESTDIR}/error.report"
-    CSVREPORT="${TESTDIR}/regression.csv"
-    TESTNAME="`basename "${TESTDIR}"`"
-    if [ -f "${GF_JAVA}" ]; then
-      runLatestProp
-    else
-      echo "GF_JAVA.WIN variable is not set" 
-    fi
-    CP_PATH="$GFE_DIR/lib/gemfire.jar;$GFE_DIR/../tests/classes"
-    TEMPDIRPATH="${TESTDIR}"
-    if type -p cygpath >/dev/null 2>/dev/null; then
-      CP_PATH="`cygpath -m "$CP_PATH"`"
-      TEMPDIRPATH="`cygpath -m "$TEMPDIRPATH"`"
-    fi
-    echo "===================================================" > "${REPORT}"
-    echo "Test results are in ${TESTDIR}" >> "${REPORT}"
-    echo "Ran test: ${TESTNAME}" >> "${REPORT}"
-    echo "Error Summary"  >> "${REPORT}"
-    echo "===================================================" >> "${REPORT}"
-    grep "^\\[TEST:${TESTNAME}:.*TEST SUMMARY" "${TESTDIR}/Driver.log" | sed 's/\r$//' >> "${REPORT}" || echo "No SUMMARY lines found." >> "${REPORT}"
-    echo "===================================================" >> "${REPORT}"
-    echo "Suspect strings in Driver.log" >> "${REPORT}"
-    grep "^\\[TEST:${TESTNAME}:[eE]rror" "${TESTDIR}/Driver.log" | sed 's/\r$//' >> "${REPORT}"
-    echo "===================================================" >> "${REPORT}"
-    perl ${DIRNAME}/grepLogs.pl "${TESTDIR}" | sed 's/\r$//' >> "${REPORT}" 2>&1
-    echo "===================================================" >> "${REPORT}"
-    echo "End of ${TESTNAME} test run." >> "${REPORT}"
-    echo "===================================================" >> "${REPORT}"
-    echo >> "${REPORT}"
-    echo >> "${REPORT}"
-    echo "The copy variable= $COPYON" >> "${REPORT}"
-    if [ "$PERFTEST" == "true" ]
-    then
-      echo ${GF_JAVA} -cp "$CP_PATH" -DJTESTS=$GFE_DIR/../tests/classes -Dgemfire.home=$GFE_DIR perffmwk.PerfReporter "${TEMPDIRPATH}"
-      ${GF_JAVA} -cp "$CP_PATH" -DJTESTS=$GFE_DIR/../tests/classes -Dgemfire.home=$GFE_DIR perffmwk.PerfReporter "${TEMPDIRPATH}"
-    ## COPYON variable to be set only when running perf tests using build targets.
-      if [ "$COPYON" == "true" ]
-      then
-        if [ ! -f ${TEMPDIRPATH}/../../summary.prop ]
-        then
-          cp -f ${TEMPDIRPATH}/latest.prop ${TEMPDIRPATH}/../../summary.prop
-        fi
-        cp -r ${TEMPDIRPATH} ${TEMPDIRPATH}/../../.
-      fi
-    fi
-    ${AWK:-awk} -F "=" '/^Name/ {print ""; next} {printf "%s,", $2} ' "${TESTDIR}/latest.prop" > "${CSVREPORT}"
-    TESTDATENTIME=`date +'%m/%d/%Y %T %Z'`
-    ls ${TESTDIR}/failure.txt > /dev/null 2>&1
-    if [ $? -ne 0 ]
-    then
-     echo "$POOLOPTION,${TESTDIR},pass,CYG,$ARCH,$TESTDATENTIME" >>  "${CSVREPORT}"
-    else
-     echo "$POOLOPTION,${TESTDIR},fail,CYG,$ARCH,$TESTDATENTIME" >>  "${CSVREPORT}"
-    fi
-    cat "${REPORT}" >> "${RUN_REPORT}"
-    cat "${CSVREPORT}" >> "${FullCsvReport}"
-    if [ "$DBOPTION" == "true" ]; then
-      echo ${GF_JAVA} -cp "$LCP_PATH" testdb.insertRegressionData ${FullCsvReport}
-      ${GF_JAVA} -cp "$LCP_PATH" testdb.insertRegressionData ${FullCsvReport}
-    fi
-  fi
-done

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/genCSV.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/genCSV.sh b/src/tests/cpp/scripts/genCSV.sh
deleted file mode 100644
index 46362e9..0000000
--- a/src/tests/cpp/scripts/genCSV.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-
-showUsage()
-{
-  progName="`basename "$0"`"
-  echo "Usage: $progName [-l] OUTPUT FILE..."
-  echo " The first argument gives the output CSV file."
-  echo " One of more files to be scanned must be provided on the command-line."
-  echo " The optional -l option specifies that CSV for latency data should be"
-  echo "  instead of the default perf data."
-}
-
-getPerfData()
-{
-  echo 'Region Tag,Task,NumClients,NumKeys,Value Size,NumThreads,ops/sec,Total ops,Time(in micros),Completion time'
-  awk -F ',' '{
-    if ($0 ~ /^\[PerfData\],/) {
-      for (indx = 2; indx < NF; indx++) {
-        if (indx == 4 && ($indx > 1000000 || $indx <= 0)) {
-          printf "*unknown*,"
-        } else {
-          printf "%s,", $indx
-        }
-      }
-      print $NF
-    }
-  }' "$@"
-}
-
-getLatencyData()
-{
-  echo 'Region Tag,MinLatency,MaxLatency,AvgLatency,No of samples'
-  sed -n 's/^.*LatencyCSV,MinMaxAvgSamples,//p' "$@"
-}
-
-
-getLData=""
-numArgs=0
-while getopts ":l:" op; do
-  case "${op}" in
-    ("l") getLData="true" ;;
-    (*) echo "Unknown argument -${OPTARG}." && showUsage && exit 1 ;;
-  esac
-  ((numArgs++))
-done
-
-while [ ${numArgs} -gt 0 ]; do
-  shift
-  ((numArgs--))
-done
-
-[ $# -lt 2 ] && showUsage && exit 1
-
-outFile="$1"
-shift
-
-if [ -z "${getLData}" ]; then
-  getPerfData "$@" > "${outFile}"
-else
-  getLatencyData "$@" > "${outFile}"
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/genericFunctions.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/genericFunctions.sh b/src/tests/cpp/scripts/genericFunctions.sh
deleted file mode 100644
index e7f4c6b..0000000
--- a/src/tests/cpp/scripts/genericFunctions.sh
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-## Create the file to use for logging.
-## Args: one, the name of the log file to create.
-INITLOG() {
-  export LOGFILE=$1
-  echo > $LOGFILE
-  if [ "${LOG_MESSAGES:-none}" != "none" ]
-  then
-    echo -en $LOG_MESSAGES | tee -a $LOGFILE
-    LOG_MESSAGES=
-  fi
-}
-
-## Log a warning message
-## Args: the message to log.
-WARN() {
-  local ts=`date +'%y-%m-%d_%H-%M-%S'`
-  if [ ${LOGFILE:-none} == "none" ]
-  then
-  LOG_MESSAGES="${LOG_MESSAGES}${ts}  WARN: $*\n"
-  fi
-  echo -e "${ts}  WARN: $*" | tee -a $LOGFILE
-}
-
-## Log a warning message
-## Args: file to log to, the message to log.
-WARNTO() {
-  local fil=$1
-  shift
-  local ts=`date +'%y-%m-%d_%H-%M-%S'`
-  echo -e "${ts}  WARN: $*" >> $fil
-}
-
-## Log an error message
-## Args: the message to log.
-ERROR() {
-  local ts=`date +'%y-%m-%d_%H-%M-%S'`
-  if [ ${LOGFILE:-none} == "none" ]
-  then
-    LOG_MESSAGES="${LOG_MESSAGES}${ts} ERROR: $*\n"
-  fi
-  echo -e "${ts} ERROR: $*" | tee -a $LOGFILE
-}
-
-## Log a debug message
-## Args: the message to log.
-DEBUG() {
-  if [ ${DEBUG:-0} -eq 1 ]
-  then
-    local ts=`date +'%y-%m-%d_%H-%M-%S'`
-    if [ ${LOGFILE:-none} == "none" ]
-    then
-      LOG_MESSAGES="${LOG_MESSAGES}${ts} DEBUG: $*\n"
-    fi
-    echo -e "${ts} DEBUG: $*" | tee -a $LOGFILE
-  fi
-}
-
-## Log a message
-## Args: the message to log.
-LOG() {
-  local ts=`date +'%y-%m-%d_%H-%M-%S'`
-  if [ ${LOGFILE:-none} == "none" ]
-  then
-    LOG_MESSAGES="${LOG_MESSAGES}${ts}  INFO: $*\n"
-  fi
-  echo -e "${ts}  INFO: $*" | tee -a $LOGFILE
-}
-
-## Log a message
-## Args: file to log to, the message to log.
-LOGTO() {
-  local fil=$1
-  shift
-  local ts=`date +'%y-%m-%d_%H-%M-%S'`
-  echo -e "${ts}  INFO: $*" >> $fil
-}
-
-## Log the content of a file
-## Args: the file to log
-LOGCONTENT() {
-  local fil=$1
-  if [ ${fil:-none} == "none" ]
-  then
-    WARN "No file specified in call to LOGCONTENT."
-  fi
-  if [ ! -f $fil ]
-  then
-    WARN "File specified in call to LOGCONTENT cannot be found."
-  fi
-  LOG "Content of $fil:"
-  while read lin
-  do
-    LOG "  $lin"
-  done < $fil
-}
-
-## Log standard input
-## Args: the command whose output should be logged, if none given, stdin is read
-LOGSTDIN() {
-  local cmd="$*"
-  if [ "${cmd:-none}" == "none" ]
-  then
-    while read lin
-    do
-      LOG $lin
-    done
-  else 
-    $cmd | while read lin
-    do
-      LOG $lin
-    done
-  fi
-}
-
-TRACE_ON() {
-  if [ ${TRACE:-0} -eq 1 ]
-  then
-    set -x
-  fi
-}
-
-TRACE_OFF() {
-  set +x
-}
-
-## Change directory without the path being displayed
-## Args: the directory to cd to.
-chdir() {
-  cd $1 > /dev/null
-}
-
-## Generate a random number between min and max, inclusive
-## Args: three: min max varname
-## the random value will be available as $varname.
-random() {
-  if [ ${randval:--1} -eq -1 ] # First time we have called this function
-  then  # So we seed the sequence 
-    # the pipe to bc is required because date will sometimes return a number 
-    # with a leading 0, but is not a valid octal number
-    ((RANDOM=( ( `date +'%S' | bc` + 1 ) * $$ ) + `date +'%j' | bc` ))
-  fi
-  min=$1
-  max=$2
-  val=$3
-  ## $RANDOM will be between 0 and 32767 inclusive
-  ##randval=`echo "( ( $RANDOM * ( $max - $min ) ) / 32767 ) + $min" | bc`
-  ((randval=( ( $RANDOM * ( $max - $min + 1 ) ) / ( 32767 + 1 ) ) + $min ))
-  export $val=$randval
-}
-
-## Terminate the script that calls this function
-## Args: none.
-terminate() {
-  LOG "Exiting ..."
-  kill $$ >/dev/null 2>&1
-  kill -9 $$ >/dev/null 2>&1
-}
-
-## Report a problem, execute a cleanup function, and terminate the calling script.
-badcmd() {
-  trap '' 1 SIGINT 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ERR EXIT
-  ERROR "Failure at line $LINENO of $0"
-  ERROR "Cleaning up ..."
-  fnam=`declare -F cleanup`
-  if [ ${fnam:-none} != "none" ]
-  then
-    cleanup
-  fi
-  ERROR "Test run terminating" 
-  ERROR `date`
-  trap - 1 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ERR EXIT
-  trap terminate SIGINT ERR EXIT
-  terminate
-}
-
-## Set RETVAL to be the number of arguments passed
-## Args: any number of anything
-argCount() {
-  export RETVAL=$#
-}
-
-## Set RETVAL to 1 if the first args is also in the remaining args, 0 otherwise
-contains() {
-  RETVAL=0
-  if [ $# -lt 2 ]
-  then
-    return
-  fi
-  local target=$1
-  shift
-  for id in $*
-  do
-    if [ $id == $target ]
-    then
-      RETVAL=1
-      return
-    fi
-  done
-}
-
-

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/killJavaServer.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/killJavaServer.sh b/src/tests/cpp/scripts/killJavaServer.sh
deleted file mode 100644
index c4cac95..0000000
--- a/src/tests/cpp/scripts/killJavaServer.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-checkRunning() {
-  if [ "${myOS}" = "CYG" ]; then
-    $killCmd -0 $1 2>&1 | grep -q 'kill:'
-  else
-    $killCmd -0 $1 2>/dev/null
-  fi
-  echo $?
-}
-
-killIt() {
-  sig=$1
-  kpid=$2
-
-  waitCnt=1
-  stillRunning="`checkRunning $kpid`"
-  while [ $stillRunning -eq 0 ] 
-  do
-    if [ $waitCnt -gt 4 ]
-    then
-      $killCmd -9 $kpid >/dev/null 2>&1
-      break
-    else
-      $killCmd $sig $kpid >/dev/null 2>&1
-    fi
-    ((waitCnt++))
-    sleep 5
-    stillRunning="`checkRunning $kpid`"
-  done
-}
-
-# Signal to use:
-signal=$1
-signal=${signal:-15}
-
-# Server start directory
-tdir="$2"
-
-AWK=`which nawk 2>/dev/null`
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-
-killCmd="kill"
-if [ "${myOS}" = "CYG" ]
-then
-  killCmd="/bin/kill -f"
-fi
-
-if [ -d "${tdir}" ]; then
-  killpid="`grep "Process ID:" "${tdir}/cacheserver.log" | ${AWK:-awk} '{print $3}'`"
-  killIt -${signal} ${killpid}
-  rm -f "${tdir}/.cacheserver.ser"
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/killJavaServers.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/killJavaServers.sh b/src/tests/cpp/scripts/killJavaServers.sh
deleted file mode 100644
index ed3212a..0000000
--- a/src/tests/cpp/scripts/killJavaServers.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-## This script allows an optional -t {tag_label} argument, to allow separation between different sets of servers.
-## It also allows an optional count of servers to be specified, -c count  with the default being 1.
-## These arguments, if used, must be before any other arguments.
-tag=""
-numServers=1
-while getopts ":t:c:" op
-do
-  case $op in
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numServers="$OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-
-## This script expects two arguments, the "number" of the server to kill
-## And the signal to kill it with
-## If no argument is given all servers will be killed with a 15.
-
-## This script expects the environment to have the following variables set:
-## GFE_COUNT -- the number of servers to use, default is one.
-## GFE_DIR -- location of the GFE Java build
-
-# Server to stop:
-server=$1
-shift
-
-# Signal to use:
-signal=$1
-signal=${signal:-15}
-
-# GFE Build location
-gfeProd=${GFE_DIR:-""}
-
-# Base for dir names
-gfdb=GFECS${tag:+_}$tag
-
-##set -x
-
-if [ ${server:-0} -gt 0 ]
-then
-  tdir=${gfdb}_$server
-  killJavaServer ${signal} ${tdir}
-  exit 0
-fi
-
-# Number of servers to stop:
-cnt=$numServers
-
-while [ ${cnt:-0} -gt 0 ]
-do
-  tdir=${gfdb}_$cnt
-  killJavaServer ${signal} ${tdir}
-  ((cnt--))
-done

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/nightly-batch.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/nightly-batch.sh b/src/tests/cpp/scripts/nightly-batch.sh
deleted file mode 100755
index a61415d..0000000
--- a/src/tests/cpp/scripts/nightly-batch.sh
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/usr/bin/bash
-echo "This script has not been updated!"
-exit
-
-function buildResult {
-if [ $# -eq 0 ]
-then
-  BUILDRESULT=""
-  return
-fi
-
-if [ -z "$BUILDRESULT" ]
-then
-  sep=""
-else
-  sep=","
-fi
-
-case $1 in
-  0)
-    ;;
-  1) BUILDRESULT="${BUILDRESULT}$sep $1 ${2}"
-    ;;
-  *) BUILDRESULT="${BUILDRESULT}$sep $1 ${2}s"
-    ;;
-esac
-}
-
-function timeBreakDown {
-  ((tot=$2-$1))
-  ((day=$tot/86400))
-  ((dayR=$tot%86400))
-  ((hr=$dayR/3600))
-  ((hrR=$dayR%3600))
-  ((min=$hrR/60))
-  ((sec=$hrR%60))
-
-  buildResult
-  buildResult $day day
-  buildResult $hr hour
-  buildResult $min minute
-  buildResult $sec second
-  TIMEBREAKDOWN=$BUILDRESULT
-}
-
-# Set CHECKOUT to the checkout toplevel directory
-JNK=`/usr/bin/dirname $0`
-OLDPWD=$PWD
-# go back three dirs.
-cd `/usr/bin/dirname $JNK`/..
-export CHECKOUT=$PWD
-cd $OLDPWD
-
-## cmd <framework-dir> <result-dir> <batch-list> <host> ...
-
-FRAMEWORK=${1:-baddir}
-shift
-
-if [ ! -e "$FRAMEWORK/scripts/runDriver" ]; then
-  echo "First argument must be path to built framework directory"
-  exit 1
-fi
-
-RESULTDIR=${1:-baddir}
-shift
-
-BATCHLIST=${1:-baddir}
-shift
-
-if [ ! -f "$BATCHLIST" ]; then
-  echo "Third argument must be path to a batch list, containing the xml names to run."
-  exit 1
-fi
-
-if [ ! -e "$RESULTDIR" ]; then
-  echo "Creating result directory: $RESULTDIR"
-  mkdir -p $RESULTDIR
-fi
-
-XMLFILES=`cat $BATCHLIST`
-
-cd $RESULTDIR
-
-REPORT="$PWD/error.report"
-
-rm -f $REPORT
-
-echo "Test results are in " `pwd`
-echo ""
-echo "C++ Regression Error Report" >$REPORT
-echo "---------------------------" >>$REPORT
-
-dayOfWeek=`date +'%u'`
-((calcDay=($dayOfWeek/2)*2))
-if [ $dayOfWeek -eq $calcDay ]
-then
-  echo ""
-  echo "Will use static libraries for test run."
-  echo ""
-  staticArg="-s"
-else
-  staticArg=""
-fi
-
-xcnt=0
-for xml in $XMLFILES; do
-  # set marker file to find directory that is newer than it.
-  # run the xml
-  echo "" >>$REPORT
-  echo "" >>$REPORT
-  echo "" >>$REPORT
-  echo "#########################################################" >>$REPORT
-  echo "## $xml" >>$REPORT
-  echo "#########################################################" >>$REPORT
-  echo "Starting test:  $xml"
-  start=`date +'%s'`
-  ((xcnt=$xcnt+1))
-  export LOGPREFIX=`basename $xml .xml`_
-  rundir=${LOGPREFIX}run_0
-  $FRAMEWORK/scripts/runDriver $xml 1 $staticArg $* > /dev/null
-  if [ -d $rundir ]
-  then
-    cd $rundir
-    ./stopAll
-    grep SUMMARY Driver.log >>$REPORT
-    perl $CHECKOUT/release/build/grepLogs.pl $PWD >>$REPORT 2>&1
-    cd -
-  else
-    echo "Failed to find $rundir." >>$REPORT
-  fi
-  end=`date +'%s'`
-  timeBreakDown $start $end
-  echo "    Test $xml used: $TIMEBREAKDOWN"
-  echo ""
-done
-
-echo "" >>$REPORT
-echo "" >>$REPORT
-echo "" >>$REPORT
-echo "#########################################################" >>$REPORT
-echo "## Completed. Processed $xcnt xml files." >>$REPORT
-echo "#########################################################" >>$REPORT
-
-MAILTO="tim.keith@gemstone.com sudhir.menon@gemstone.com matthew.splett@gemstone.com qing.he@gemstone.com jdai@gemstone.com"
-mail -s "Nightly regression test run." $MAILTO < $REPORT

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/piper.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/piper.sh b/src/tests/cpp/scripts/piper.sh
deleted file mode 100644
index 723f0c3..0000000
--- a/src/tests/cpp/scripts/piper.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-
-AWK=`which nawk 2>/dev/null`
-lname=`hostname`
-hst=`nslookup $lname 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-source $BASEDIR/envs/${hst}_env
-source $BASEDIR/gfcpp.env
-
-goHost() {
-  ##  set -x
-  local host=$1
-  shift
-  local cmd="$*"
-  ##  echo "In piper:goHost cmd is:: $cmd ::"
-  if [ "${cmd:-none}" == "none" ]
-  then
-    echo "Empty command passed to goHost"
-    return
-  fi
-  local ev="`cat $BASEDIR/envs/extra_env $BASEDIR/envs/${host}_env`"
-  ##  echo "piper:goHost: ssh -A -x -q -f $host \"$ev $cmd \" "
-  ssh -o "NumberOfPasswordPrompts 0" -A -x -f $host "$ev $cmd &" 
-  ##  echo "piper:goHost complete"
-  ##  set +x
-}
-
-while [ "${cmd:-NULL}" != "exit" ]
-do
-  if [ "${cmd:-NULL}" != "NULL" ]
-  then
-    $cmd &
-  fi
-  date | tr -d '\n' ; echo "   Waiting..."
-  read cmd
-  res=$?
-  if [ $res -ne 0 ]
-  then
-    cmd=exit
-  fi
-  date | tr -d '\n' ; echo "   Read ::$cmd::"
-done
-echo "Pipe process exiting."

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runBatch.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runBatch.sh b/src/tests/cpp/scripts/runBatch.sh
deleted file mode 100755
index c4afad2..0000000
--- a/src/tests/cpp/scripts/runBatch.sh
+++ /dev/null
@@ -1,311 +0,0 @@
-#!/bin/bash
-echo "This script has not been updated!"
-exit
-
-
-function processArgs {
-  if [ $# -eq 0 ]; then 
-    usage
-  fi
-
-  while getopts ":zp:d:h:m:l:x:o:" op
-  do
-	
-    unset SINGLETEST
-    unset TESTLIST
-    unset TESTHOSTSFILE
-    unset mailtmp
-
-    case $op in
-      ( "o" ) if ( echo $OPTARG | grep '^-' > /dev/null ); then
-                echo "ERROR: -o option must have a file argument that does not s
-tart with \"-\""
-                errorDetected=1
-              fi
-      ;;
-      ( "p" ) BUILDDIR=$OPTARG ;;
-      ( "d" ) TESTSRESULTSDIR=$OPTARG ;;
-      ( "h" ) TESTHOSTSFILE=$OPTARG ;;
-      ( "m" ) mailtmp=$OPTARG ;;
-      ( "l" ) if [ "x$resetXML" = "x1" ]; then 
-                unset SINGLETESTS
-                TESTLISTS=$OPTARG
-                resetXML=0
-              else  
-                TESTLISTS="$TESTLISTS $OPTARG"
-              fi
-      ;;
-      ( "x" ) if [ "x$resetXML" = "x1" ]; then 
-                SINGLETESTS=$OPTARG
-                unset TESTLISTS
-                resetXML=0
-              else  
-                SINGLETESTS="$SINGLETESTS $OPTARG"
-              fi
-      ;;
-      ( "z" ) resetXML=1 ;;
-      ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-    esac 
-
-    # Build up a list of mail recipients 
-    if [ ! -z "$mailtmp" ]; then
-      MAILTO="$MAILTO $mailtmp"
-    fi
-
-    # Build up a list of hosts 
-    if [ ! -z "$TESTHOSTSFILE" ]; then
-      TESTHOSTS="$TESTHOSTS `cat $TESTHOSTSFILE | tr '\n' ' '`"
-    fi
-  done
-
-  # This section of code passes all remaining arguments to the TESTHOSTS list
-  while [ $OPTIND -gt 1 ]
-  do
-    shift
-    ((OPTIND--))
-  done
-  if [ $# -ne 0 ]; then 
-    TESTHOSTS="$TESTHOSTS $*"
-  fi 
-
-  # Check for remaining required settings
-  if [ -z "$BUILDDIR" ]; then
-	echo "OPTIONS error: must specify a path to the build directory with -p"
-        errorDetected=1
-  elif [ -z "$TESTSRESULTSDIR" ]; then
-	echo "OPTIONS error: must specify a path to the test results directory with -d"
-        errorDetected=1
-  fi
-
-  FRAMEWORK=$BUILDDIR/framework
-  TESTHOSTS=${TESTHOSTS:-"localhost"}
-  MAILTO=${MAILTO:-"NO_MAIL"}
-}
-
-function usage {
-  cat<<__USAGE__
-typical usages:
-  tests/scripts/nightly-batch.sh -o tests/scripts/cronbeaverton.txt
-  OR
-  tests/scripts/nightly-batch.sh -p <source path> -d <results path> -l <test list> -m <email address> host1 ... hostn
-------------------------------
-  -h <file>
-     @@ name of file containing hosts to use in test, optional
-     @@ Any left over arguments on the command line are assumed to be hostnames
-  -m <mail recipient> 
-     @@ name of mail recipient, can be used multiple times
-  -x <xml test file>
-     @@ specify a single xml test
-  -l <text file> 
-     @@ file containing list of xml tests to run 
-  -d <test results directory>
-     @@ location where testing results are stored, mult be absolute path
-  -p <build directory>
-     @@ This is a path to the top directory of your source checkout
-  -o <file to take commandline options from> 
-     @@ lines where the very first character is '#' are treated as comments
-     @@ Any -x or -l settings on the command line will override these settings
-__USAGE__
-  exit 1
-}
-
-function showsettings {
-  NUMBER_OF_XML=`echo "$XMLFILES" | wc -w | tr -d ' '` 
-  echo "$XMLFILES"
-cat<<__SETTINGS__
-  BUILDDIR        => $BUILDDIR
-  TESTSRESULTSDIR => $TESTSRESULTSDIR
-  MAILTO          => $MAILTO
-  TESTHOSTS       => $TESTHOSTS
-  NUMBER_OF_XML   => $NUMBER_OF_XML
-__SETTINGS__
-}
-
-function buildResult {
-  if [ $# -eq 0 ]; then
-    BUILDRESULT=""
-    return
-  fi
-
-  if [ -z "$BUILDRESULT" ]; then
-    sep=""
-  else
-    sep=","
-  fi
-
-  case $1 in
-    0) ;;
-    1) BUILDRESULT="${BUILDRESULT}$sep $1 ${2}" ;;
-    *) BUILDRESULT="${BUILDRESULT}$sep $1 ${2}s" ;;
-  esac
-}
-
-function timeBreakDown {
-  # Note: this wont work unless using GNU date because the %s format
-  # isn't supported on most implimentations of date 
-  ((tot=$2-$1))
-  ((day=$tot/86400))
-  ((dayR=$tot%86400))
-  ((hr=$dayR/3600))
-  ((hrR=$dayR%3600))
-  ((min=$hrR/60))
-  ((sec=$hrR%60))
-
-  buildResult
-  buildResult $day day
-  buildResult $hr hour
-  buildResult $min minute
-  buildResult $sec second
-  TIMEBREAKDOWN=$BUILDRESULT
-}
-
-function runTests {
-
-  if [ ! -e "$FRAMEWORK/scripts/runDriver" ]; then
-    echo "Problem finding runDriver in \"$FRAMEWORK/scripts\""
-    echo "Check your -p <build directory> setting"
-    exit 1 
-  fi
- 
-    
-  OUTDIR=$TESTSRESULTSDIR/`date +'%y-%m-%d_%H-%M-%S_'`regression-results
-  if [ ! -e "$OUTDIR" ]; then
-    echo "Creating result directory: $OUTDIR"
-    mkdir -p $OUTDIR	
-  fi
-
-  echo "cding into OUTDIR \"$OUTDIR\""
-  cd $OUTDIR 
-
-  REPORT="$OUTDIR/error.report"
-
-  echo "Test results are in $OUTDIR"
-  echo "" 
-  echo "C++ Regression Error Report" >$REPORT
-  echo "---------------------------" >>$REPORT
-
-  # This code changes the staticArg based on if today is an 
-  # even or odd numbered day of the week
-  dayOfWeek=`date +'%u'`
-  ((calcDay=($dayOfWeek/2)*2))
-  if [ $dayOfWeek -eq $calcDay ]; then
-    echo ""
-    echo "Will use static libraries for test run."
-    echo ""
-    staticArg="-s"
-  else
-    staticArg=""
-  fi
-
-  rm -f $REPORT
-
-  xcnt=0
-  for xml in $XMLFILES; do
-    # set marker file to find directory that is newer than it.
-    # run the xml
-    cat<<__REPORT_TXT__ >> $REPORT
-
-
-
-#########################################################
-### $xml
-#########################################################
-__REPORT_TXT__
-    echo "Starting test:   $xml" 
-    start=`date +'%s'`
-    ((xcnt=$xcnt+1))
-    export LOGPREFIX=`basename $xml .xml`_
-    rundir=${LOGPREFIX}run_0
-    echo "running $FRAMEWORK/scripts/runDriver $xml 1 $staticArg $TESTHOSTS"
-    $FRAMEWORK/scripts/runDriver $xml 1 $staticArg $TESTHOSTS > /dev/null
-    if [ -d $rundir ]; then
-      cd $rundir
-      ./stopAll
-      grep SUMMARY Driver.log >>$REPORT
-      perl $FRAMEWORK/scripts/grepLogs.pl $PWD >>$REPORT 2>&1
-      cd -
-    else
-      echo "Failed to find $rundir." >>$REPORT
-    fi
-    end=`date +'%s'`
-    timeBreakDown $start $end
-    echo "    Test $xml used: $TIMEBREAKDOWN"
-    echo ""
-  done
-  
-  cat<<__REPORT_END__ >> $REPORT
-
-
-
-#########################################################
-## Completed. Processed $xcnt xml files.
-#########################################################
-__REPORT_END__
-  if [ "x$MAILTO" != "xNO_MAIL" ]; then 
-    # This is not perfect, but it works. NOTE: You canoot use the -n flag
-    # if you do it will ignore the cat stream and you get an empty email.
-    cat $REPORT | ssh zeus "/usr/ucb/mail -s 'Nightly regression test run.' $MAILTO"
-  else 
-    echo "INFO: Skipping mail step because no email address was specified."
-  fi
- 
-}
-
-
-###--------------------- Main ----------------------------###
-
-# Clear settings that may have carried over from the environment
-unset TESTHOSTS
-unset MAILTO
-
-# Detect the presence of an options file and add its contents to the
-# begining of the argument list. This way other command line
-# arguments take precendence
-
-optionsFile=`echo "$*" | sed 's/.*-o \([^-][^ ]*\).*/\1/'`
-if ( echo "$*" | grep -- "-o" > /dev/null ); then
-  if [ -f "$optionsFile" ]; then
-    additionalArgs=`grep -v '^#' $optionsFile | tr '\n' ' '`
-  fi
-fi
-
-# The -z is a special switch to notify the parser that we have stopped 
-# parsing the options file contents. This is relevant in the case of the
-# options that can be concatinated like -x and -l
-processArgs $additionalArgs -z $*
-
-# Now we can build the XML list because FRAMEWORK is defined
-if [ ! -z "$SINGLETESTS" ]; then
-  XMLFILES="$SINGLETESTS"
-fi
-if [ ! -z "$TESTLISTS" ]; then
-  for list in $TESTLISTS ; do
-    if [ -f "$list" ]; then
-      XMLFILES="$XMLFILES `cat $list | tr '\n' ' '`"
-    elif [ -f "$FRAMEWORK/xml/$list" ]; then
-      XMLFILES="$XMLFILES `cat $FRAMEWORK/xml/$list | tr '\n' ' '`"
-    else
-      echo "OPTIONS error: bad argument supplied to -l"
-      echo "Could not find the test list \"$list\" in either \".\" or \"$FRAMEWORK/xml/$list\""
-      errorDetected=1
-    fi
-  done
-fi
-
-if [ -z "$XMLFILES" ]; then
-  echo "OPTIONS error: must have at least one test specified."
-  echo "Use either the -x <XML file> or -l <file based list of XML files>"
-  errorDetected=1
-fi
-
-if [ "x$errorDetected" = "x1" ]; then
-  echo "Exiting due to previous options error:"
-  usage
-fi
-
-showsettings
-
-# In the previous version output was redirected like this, 
-# I'm not sure if that is desireable though
-# runTests | tee $OUTDIR/cronreg.log 2>&1
-runTests

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runBuild.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runBuild.sh b/src/tests/cpp/scripts/runBuild.sh
deleted file mode 100755
index 2227341..0000000
--- a/src/tests/cpp/scripts/runBuild.sh
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-echo "This script has not been updated!"
-exit
-
-function processArgs {
-  if [ $# -eq 0 ]; then 
-    usage
-  fi
-
-  while getopts ":B:p:m:o:" op
-  do
-	
-    unset mailtmp
-
-    case $op in
-      ( "o" ) if ( echo $OPTARG | grep '^-' > /dev/null ); then
-                echo "ERROR: -o option must have a file argument that does not start with \"-\""
-                errorDetected=1
-              fi
-      ;;
-      ( "B" ) BUILDHOST=$OPTARG ;;
-      ( "p" ) BUILDDIR=$OPTARG ;;
-      ( "m" ) mailtmp=$OPTARG ;;
-      ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-    esac 
-
-    # Build up a list of mail recipients 
-    if [ ! -z "$mailtmp" ]; then
-      MAILTO="$MAILTO $mailtmp"
-    fi
-
-  done
-
-  # Set defaults
-  BUILDHOST=${BUILDHOST:-"localhost"}
-
-  # Check for remaining required settings
-  if [ -z "$BUILDDIR" ]; then
-	echo "OPTIONS error: must specify a path to the build directory with -p"
-	errorDetected=1	
-  fi
-
-  MAILTO=${MAILTO:-"NO_MAIL"}
-}
-
-function usage {
-  cat<<__USAGE__
-typical usages:
-  tests/scripts/nightly-batch.sh -B <machine> -p <source path> -m <email>
-------------------------------
-  -m <mail recipient> 
-     @@ name of mail recipient, can be used multiple times
-  -p <build directory>
-     @@ This is a path to the top directory of your source checkout
-  -B <machine to build on>
-     @@ defaults to localhost
-  -o <file to take commandline options from> 
-     @@ lines where the very first character is '#' are treated as comments
-__USAGE__
-  exit 1
-}
-
-function showsettings {
-  NUMBER_OF_XML=`echo "$XMLFILES" | wc -w | tr -d ' '` 
-  echo "$XMLFILES"
-cat<<__SETTINGS__
-  BUILDHOST     => $BUILDHOST
-  BUILDDIR      => $BUILDDIR
-  MAILTO        => $MAILTO
-__SETTINGS__
-}
-
-function makeBuild {
-  echo "Updating checkout and beginning clean build at " `date`
-  ssh -x -q $BUILDHOST "cd $BUILDDIR && git pull && ./build.sh clean product tests ; if [ $? -eq 0 ]; then echo 'Build successful.'; else echo 'Build failed.'; fi" > build${BUILDHOST}.log 2>&1
-  ssh -x -q $BUILDHOST "cd $BUILDDIR && cat build-artifacts/lastUpdate.txt"
-  echo "Build complete at " `date`
-  echo ""
-}
-
-
-###--------------------- Main ----------------------------###
-
-# Clear settings that may have carried over from the environment
-unset BUILDHOST
-unset MAILTO
-
-# Detect the presence of an options file and add its contents to the 
-# begining of the argument list. This way other command line 
-# arguments take precendence
-
-optionsFile=`echo "$*" | sed 's/.*-o \([^-][^ ]*\).*/\1/'`
-if ( echo "$*" | grep -- "-o" > /dev/null ); then
-  if [ -f "$optionsFile" ]; then
-    additionArgs=`grep -v '^#' $optionsFile | tr '\n' ' '`  
-  fi
-fi
-
-processArgs $additionalArgs $@
-if [ "x$errorDetected" = "x1" ]; then
-  echo "Exiting due to previous options error:"
-  usage
-fi
-
-makeBuild
-
-if [ "x$MAILTO" != "xNO_MAIL" ]; then
-  # This is not perfect, but it works. NOTE: You canoot use the -n flag
-  # if you do it will ignore the cat stream and you get an empty email.
-  cat build${BUILDHOST}.log | ssh -x -q zeus "/usr/ucb/mail -s 'Nightly regression test run.' $MAILTO"
-else
-  echo "INFO: Skipping mail step because no email address was specified."
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runCPPCSDriver.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runCPPCSDriver.sh b/src/tests/cpp/scripts/runCPPCSDriver.sh
deleted file mode 100755
index d5fc9e0..0000000
--- a/src/tests/cpp/scripts/runCPPCSDriver.sh
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/bash
-
-
-getPath()
-{
-  if uname | grep '^CYGWIN' >/dev/null 2>/dev/null; then
-    cygpath "$1"
-  else
-    echo "$1"
-  fi
-}
-
-showUsage()
-{
-  echo -e "Usage: ${scriptName} [OPTION] [<host1> ...]";
-  echo -e " Options and hosts are specified the same as to the runDriver script.";
-}
-
-
-# Initialization
-
-scriptLocation="`getPath "$0"`"
-scriptDir="`dirname "${scriptLocation}"`"
-scriptName="`basename "${scriptLocation}"`"
-csharpDir="${scriptDir}/../csharp/bin"
-
-CSBBDIR="${csharpDir}"
-export CSBBDIR
-
-if [ -r "${csharpDir}/runCSFunctions.sh" ]; then
-  source "${csharpDir}/runCSFunctions.sh"
-else
-  echo "Could not read the runCSFunctions.sh script."
-  exit 1
-fi
-
-
-# Parse the command-line
-
-argNum=1
-while [ "${argNum}" -le $# ]; do
-  arg="`eval echo \\${${argNum}}`"
-  case "${arg}" in
-    --*) ;;
-    -*) ((argNum++)) ;;
-    *) break ;;
-  esac
-  ((argNum++))
-done
-
-# Get the hostnames
-
-numHosts=0
-numGroups=0
-export numHosts numGroups
-parseHosts "${argNum}" "$@"
-
-# Use the local machine in the special "CSD" group
-# when none is provided on command-line
-csdHost=
-csdIndex="`searchArray hostGroups CSD`"
-if [ "${csdIndex}" -le 0 ]; then
-  thisHost="`getHostName`"
-  csdHost="CSD:${thisHost}"
-  thisHost="`nslookup ${thisHost} 2>/dev/null | awk '/^Name:/{print $2}'`"
-  ((numHosts++))
-  hostNames[${numHosts}]="${thisHost}"
-  ((numGroups++))
-  hostGroups[${numGroups}]="CSD"
-fi
-
-bbPort="`getOpenPort`"
-
-# Start the FwkBBServer
-
-CSFWK_BBADDR="`getIPAddress`:${bbPort}"
-export CSFWK_BBADDR
-echo "CSFWK_BBADDR=\"${CSFWK_BBADDR}\"" > gfcppcsharp.env
-echo "export CSFWK_BBADDR" >> gfcppcsharp.env
-
-"${csharpDir}/FwkBBServer" "${bbPort}" &
-
-# Set the trap to exit cleanly closing the C# BBserver and Driver
-trap "stty echo; source gfcppcsharp.env; [ -n \"\${CSFWK_BBADDR}\" ] && echo Before exit: Terminating the BB server... && \"${csharpDir}/FwkBBClient\" quit; [ -n \"\${CSFWK_DRIVERADDR}\" ] && echo Before exit: Terminating the Driver... && \"${csharpDir}/FwkBBClient\" termDriver 2>/dev/null; exit 0" SIGINT SIGTERM
-
-# Sleep for some time to let the BB server start
-sleep 5
-
-
-# Get the passwords from the user and write to BB
-
-writePasswordsToBB
-
-echo
-echo "Starting runDriver."
-echo
-
-"${scriptDir}/runDriver" "$@" ${csdHost}
-
-echo
-echo Terminating the BB server...
-echo
-"${csharpDir}/FwkBBClient" quit

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runCSDriver.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runCSDriver.sh b/src/tests/cpp/scripts/runCSDriver.sh
deleted file mode 100755
index b3229f3..0000000
--- a/src/tests/cpp/scripts/runCSDriver.sh
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/bin/bash
-
-#set -x
-getPath()
-{
-  if uname | grep '^CYGWIN' >/dev/null 2>/dev/null; then
-    cygpath "$1"
-  else
-    echo "$1"
-  fi
-}
-
-showUsage()
-{
-  echo -e "Usage: ${scriptName} [OPTION] [<host1> ...]";
-  echo -e " <host1> ... are (optional) hostnames of the machines on which to distribute the clients";
-  echo -e " Each host can optionally have the hostGroup name prefixed to it with ':'";
-  echo -e "   e.g. CS:host1; the hostGroup should not be '*' which implicitly stands for all hosts";
-  echo -e "Options are:";
-  echo -e "  --xml=FILE \t\t An XML file having the test to be executed.";
-  echo -e "\t\t\t This option can be specified multiple times";
-  echo -e "  --list=FILE \t\t A file containing a list XML files having the tests to be executed";
-  echo -e "  --pool=POOLOPTION \t\t where POOLOPTIONs are poolwithendpoints/poolwithlocator";
-  echo -e "  --sleep=SECS \t\t The seconds for which to sleep before executing the regression test";
-  echo -e "  --at=TIME \t\t The time at which to execute the regression test";
-  echo -e "  --database \t\t This to be used for upload the data in database for regression history. Need to be mentioned at every regression run.";
-  echo -e "  --auto-ssh \t\t Use ssh configured for passwordless login instead of plink as remote shell"
-  echo -e "\t\t\t Note that this shall only work if sshd is running as a domain user having"
-  echo -e "\t\t\t permissions to access network shares and other resources on given hosts."
-  echo -e "  --skip-report \t Skip error.report generation"
-  echo -e "At least one XML file should be specified using one of --xml or --list options";
-  echo -e "Both options can be provided in which case all the specified tests in both will be run.";
-}
-
-
-# Initialization
-
-scriptLocation="`getPath "$0"`"
-scriptDir="`dirname "${scriptLocation}"`"
-scriptName="`basename "${scriptLocation}"`"
-
-CSBBDIR="${scriptDir}"
-export CSBBDIR
-
-if [ -r "${scriptDir}/runCSFunctions.sh" ]; then
-  source "${scriptDir}/runCSFunctions.sh"
-else
-  echo "Could not read the runCSFunctions.sh script."
-  exit 1
-fi
-
-
-# Parse the command-line
-
-# Get the options
-
-xmlList=
-xmlListList=
-poolopt=
-export DBOPTION="false"
-useAutoSsh=false
-argNum=1
-sleepSecs=0
-ARGS=
-while true; do
-  skipArg=false
-  getOption "`eval echo \\${${argNum}}`"
-  if [ -z "${OPTNAME}" ]; then
-    break
-  fi
-  case "${OPTNAME}" in
-    xml) xmlList="`addList "${xmlList}" "${OPTVAL}"`" ;;
-    list) xmlListList="`addList "${xmlListList}" "${OPTVAL}"`" ;;
-    pool) poolopt="`addList "${poolopt}" "${OPTVAL}"`"
-    ;;
-    database) DBOPTION="true";;
-    auto-ssh) useAutoSsh=true ;;
-    at | skip-report) ;;
-    sleep) sleepSecs="${OPTVAL}" && skipArg=true ;;
-    *) echo "Unknown option [${OPTNAME}]." && echo && showUsage && exit 1 ;;
-  esac
-  if [ "${skipArg}" != "true" ]; then
-    ARGS="${ARGS} `eval echo \\${${argNum}}`"
-  fi
-  ((argNum++))
-done
-
-# Verify validity of options
-
-if [ -z "${xmlList}" -a -z "${xmlListList}" ]; then
-  echo "No xml file provided." && echo && showUsage && exit 1
-fi
-
-
-# Get the hostnames
-
-parseHosts "${argNum}" "$@"
-
-
-bbPort="`getOpenPort`"
-driverPort="`getOpenPort`"
-
-# Start the FwkBBServer
-set -m
-
-CSFWK_BBADDR="`getIPAddress`:${bbPort}"
-export CSFWK_BBADDR
-CSFWK_DRIVERADDR="`getIPAddress`:${driverPort}"
-export CSFWK_DRIVERADDR
-"${scriptDir}/FwkBBServer" "${bbPort}" &
-
-# Set the trap to exit cleanly
-trap "stty echo; if [ -n \"\${driverPID}\" ]; then echo Terminating the driver...; echo; \"${scriptDir}/FwkBBClient\" termDriver; wait \${driverPID}; fi; echo Terminating the BB server...; \"${scriptDir}/FwkBBClient\" quit; echo; exit 0" SIGINT SIGTERM
-
-# Sleep for some time to let the BB server start
-sleep 5
-
-
-# Get the passwords from the user and write to BB
-
-loginOpts=
-if [ "${useAutoSsh}" = "true" ]; then
-  checkLogin
-else
-  writePasswordsToBB
-  loginOpts="--bbPasswd"
-fi
-
-if [ "${sleepSecs}" -gt 0 ]; then
-  echo "Sleeping for ${sleepSecs} secs..."
-  sleep "${sleepSecs}"
-fi
-
-echo
-echo "Starting FwkDriver."
-echo
-
-"${scriptDir}/FwkDriver" "--bbServer=${CSFWK_BBADDR}" ${loginOpts} "--driverPort=${driverPort}" ${ARGS} ${HOSTS} &
-
-driverPID=$!
-export driverPID
-wait ${driverPID}
-
-# Ending the BB server...
-"${scriptDir}/FwkBBClient" quit

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runCSFunctions.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runCSFunctions.sh b/src/tests/cpp/scripts/runCSFunctions.sh
deleted file mode 100755
index c4eac45..0000000
--- a/src/tests/cpp/scripts/runCSFunctions.sh
+++ /dev/null
@@ -1,216 +0,0 @@
-#!/bin/bash
-
-# This script uses some bash specific constructs like arrays.
-
-
-getOpenPort()
-{
-  openPorts="`netstat -an | sed -n 's/^[^\.]*[0-9]\+.[0-9]\+.[0-9]\+.[0-9]\+.\([0-9]\+\)[ \t]\+.*\(LISTEN\|ESTABLISH\).*$/\1/p' | sort -n | uniq`"
-  declare -a ports
-  for port in ${openPorts}; do
-    ports[${port}]=1
-  done
-  found=false
-  while [ "${found}" = "false" ]; do
-    newPort="`expr ${RANDOM} % 10000 + 20000`"
-    if [ "${ports[${newPort}]}" != "1" ]; then
-      found=true
-    fi
-  done
-  unset ports
-  echo ${newPort}
-}
-
-getOption()
-{
-  OPTNAME=
-  OPTVAL=
-  case "$1" in
-    --*)
-      OPTNAME="`echo "$1" | sed 's/^--//;s/=.*$//'`"
-      OPTVAL="`echo "$1" | cut -d '=' -f 2-2`"
-    ;;
-  esac
-}
-
-getIPAddress()
-{
-  ipAddrs="`ipconfig 2>/dev/null | sed 's/\\r//g' | awk '/IP Address/ { print $NF }'`"
-  for ipAddr in ${ipAddrs}; do
-    hostName="`nslookup ${ipAddr} 2>/dev/null | sed 's/\\r//g' | awk '/^Name:/{print $2}'`"
-    if [ -n "${hostName}" ]; then
-      echo ${ipAddr}
-      break
-    fi
-  done
-}
-
-getHostName()
-{
-  ipAddr="`getIPAddress`"
-  if [ -n "${ipAddr}" ]; then
-    nslookup ${ipAddr} 2>/dev/null | sed 's/\\r//g' | awk '/^Name:/{print $2}'
-  fi
-}
-
-getHost()
-{
-  HNAME=
-  HGROUP=
-  case "$1" in
-    *:*)
-      HNAME="`echo "$1" | cut -d ':' -f 2-2`"
-      HGROUP="`echo "$1" | cut -d ':' -f 1-1`"
-    ;;
-    *)
-      HNAME="$1"
-    ;;
-  esac
-}
-
-readPassword()
-{
-  PASSWD=
-  echo -n "Please enter the password: "
-  stty -echo
-  read PASSWD
-  stty echo
-  echo
-}
-
-getHostType()
-{
-  plink -pw "${PASSWD}" "${USER}@$1" "uname"
-}
-
-addList()
-{
-  if [ -z "$1" ]; then
-    echo "$2"
-  else
-    echo "$1,$2"
-  fi
-}
-
-searchArray()
-{
-  arraySize="`eval echo \\${#$1[@]}`"
-  arrayIndex=1
-  while [ "${arrayIndex}" -le "${arraySize}" ]; do
-    if [ "`eval echo \\${$1[${arrayIndex}]}`" = "$2" ]; then
-      echo ${arrayIndex}
-      return
-    fi
-    ((arrayIndex++))
-  done
-  echo 0
-}
-
-writeBBConfigKeyVal()
-{
-  if [ -n "$1" -a -n "$2" ]; then
-    "${CSBBDIR}/FwkBBClient" set CONFIG "$1" "$2"
-  fi
-}
-
-declare -a hostNames
-declare -a hostGroups
-
-parseHosts()
-{
-  argNum="$1"
-  ((argNum++))
-  numHosts=0
-  numGroups=0
-  HOSTS=
-  while true; do
-    getHost "`eval echo \\${${argNum}}`"
-    if [ -z "${HNAME}" ]; then
-      break
-    fi
-    if [ "${HGROUP}" = "*" ]; then
-      echo "Cannot use '*' as the hostGroup." && echo && showUsage && exit 1
-    fi
-    if echo ${HNAME} | fgrep . >/dev/null; then
-      hostName="${HNAME}"
-    else
-      hostName="`nslookup ${HNAME} 2>/dev/null | sed 's/\\r//g' | awk '/^Name:/{print $2}'`"
-    fi
-    hostIndex="`searchArray hostNames "${hostName}"`"
-    if [ -z "${HGROUP}" ]; then
-      HOSTS="${HOSTS} ${hostName}"
-    else
-      HOSTS="${HOSTS} ${HGROUP}:${hostName}"
-    fi
-    if [ "${hostIndex}" -le 0 ]; then
-      ((numHosts++))
-      hostNames[${numHosts}]="${hostName}"
-    fi
-    groupIndex="`searchArray hostGroups "${HGROUP}"`"
-    if [ "${groupIndex}" -le 0 ]; then
-      ((numGroups++))
-      hostGroups[${numGroups}]="${HGROUP}"
-    fi
-    ((argNum++))
-  done
-}
-
-writePasswordsToBB()
-{
-  hostIndex=1
-  numHosts="${#hostNames[@]}"
-  readPassword
-  while [ "${hostIndex}" -le "${numHosts}" ]; do
-    hostName="${hostNames[${hostIndex}]}"
-    maxTries=3
-    echo -n "Checking password on ${hostName}. "
-    hostType="`getHostType "${hostName}"`"
-    if [ -n "${hostType}" ]; then
-      echo
-    else
-      while [ "${maxTries}" -gt 0 ]; do
-        readPassword
-        hostType="`getHostType "${hostName}"`"
-        if [ -n "${hostType}" ]; then
-          break
-        fi
-        echo "Incorrect password for server ${hostName}."
-        ((maxTries--))
-      done
-    fi
-    if [ -n "${hostType}" ]; then
-      writeBBConfigKeyVal "host.${hostName}" "${PASSWD}"
-      if [ "`echo ${hostType} | tr "cyglinsu" "CYGLINSU" | cut -b1-3`" = "CYG" ]; then
-        hostIsWindows="true"
-      else
-        hostIsWindows="false"
-      fi
-      writeBBConfigKeyVal "hostType.${hostName}" "${hostIsWindows}"
-    else
-      echo "Failed to login to server ${hostName}; removing from hosts list"
-    fi
-    ((hostIndex++))
-  done
-}
-
-checkLogin()
-{
-  hostIndex=1
-  numHosts="${#hostNames[@]}"
-  while [ "${hostIndex}" -le "${numHosts}" ]; do
-    hostName="${hostNames[${hostIndex}]}"
-    echo -n "Checking login on ${hostName}. "
-    hostType="`ssh -o StrictHostKeyChecking=no "${USER}@${hostName}" "uname"`"
-    if [ -n "${hostType}" ]; then
-      if [ "`echo ${hostType} | tr "cyglinsu" "CYGLINSU" | cut -b1-3`" = "CYG" ]; then
-        hostIsWindows="true"
-      else
-        hostIsWindows="false"
-      fi
-      writeBBConfigKeyVal "hostType.${hostName}" "${hostIsWindows}"
-    else
-      echo "Failed to login to server ${hostName}"
-    fi
-    ((hostIndex++))
-  done
-}

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runCSTests.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runCSTests.sh b/src/tests/cpp/scripts/runCSTests.sh
deleted file mode 100644
index 67a47b3..0000000
--- a/src/tests/cpp/scripts/runCSTests.sh
+++ /dev/null
@@ -1,397 +0,0 @@
-#!/bin/bash
-
-getPath()
-{
-  if uname | grep '^CYGWIN' >/dev/null 2>/dev/null; then
-    cygpath "$1"
-  else
-    echo "$1"
-  fi
-}
-
-scriptLocation="`getPath "$0"`"
-
-scriptDir="`dirname "${scriptLocation}"`"
-scriptName="`basename "${scriptLocation}"`"
-
-if [ -r "${scriptDir}/runCSFunctions.sh" ]; then
-  source "${scriptDir}/runCSFunctions.sh"
-else
-  echo "Could not read the runCSFunctions.sh script."
-  exit 1
-fi
-
-if [ -n "${NUNIT}" ]; then
-  PATH="${PATH}:`getPath "${NUNIT}/bin"`"
-fi
-
-NUNIT_CONSOLE="nunit-console.exe"
-
-  NUNIT_FLAGS="/labels /framework=net-4.0"
-
-UNITTESTS_DLL="UnitTests.dll"
-RESULT_XML="TestResult.xml"
-
-
-getResultsDir()
-{
-  echo "${TESTRES}/csharp/$1"
-}
-
-getNunitFlag()
-{
-  if [ "$1" = "unicast-deprecated" ]; then
-    echo /exclude=multicast-only
-	echo /exclude=generics
-  elif [ "$1" = "multicast" ]; then
-    echo /exclude=unicast_only
-  elif [ "$1" = "unicast" ]; then
-    echo /exclude=deprecated
-  else
-    echo
-  fi
-}
-
-getFailures()
-{
-  sed -n 's/^[ \t]*<test-case[ \t]\+name[ \t]*=[ \t]*"\([^\.]*\.\)*\([^\.]*\.[^\."]*\)"[^>]*success[ \t]*=[ \t]*"False"[^>]*>.*$/\2/p' "$1" 2>/dev/null
-}
-
-runTests()
-{
-  echo "The logging level is ${DUNIT_LOGLEVEL}."
-  echo "The server logging level is ${GFE_LOGLEVEL}."
-  echo "The server security logging level is ${GFE_SECLOGLEVEL}."
-  echo
-  ORIGPWD="`pwd`"
-  RESULT_TYPE="$1"
-  shift
-  RESULTS_DIR="`getResultsDir "${RESULT_TYPE}"`"
-  NUNIT_RUN_FLAG="`getNunitFlag "${RESULT_TYPE}"`"
-  echo "NUnit flag is ${NUNIT_RUN_FLAG}"
-
-  cd "${TESTSRC}"
-  rm -rf "${RESULTS_DIR}"
-  mkdir -p "${RESULTS_DIR}"
-  cp -f *.dll *.pdb *.xml *.dtd *.exe *.pl *.properties* "${RESULTS_DIR}" 2>/dev/null
-  cp -f --preserve=all cache6_5.dtd "${RESULTS_DIR}/.." 2>/dev/null
-  cp -f --preserve=all cache6_6.dtd "${RESULTS_DIR}/.." 2>/dev/null
-  if [ "${runNet20}" = "true" ]; then
-    echo Copying for net20 run.
-    if [ -n "${OSBUILDDIR}" ]; then
-      OSBUILDDIR="`getPath "${OSBUILDDIR}"`"      
-    fi  
-	if [ -n "${OSBUILDEXTDIR}" ]; then
-      OSBUILDEXTDIR="`getPath "${OSBUILDEXTDIR}"`"      
-    fi    
-	cp -f --preserve=all ${OSBUILDEXTDIR}/product/bin/Net20/GemStone.GemFire.Cache.dll "${OSBUILDDIR}/tests/clicache/UnitTests/" 2>/dev/null
-	cp -f --preserve=all ${OSBUILDEXTDIR}/product/bin/Net20/GemStone.GemFire.Cache.xml "${OSBUILDDIR}/tests/clicache/UnitTests/" 2>/dev/null	
-  fi  
-  chmod a+rwx -R "${RESULTS_DIR}"
-
-  cd "${RESULTS_DIR}"
-  if [ -n "${DUNIT_LOGDIR}" ]; then
-    mkdir -p "${DUNIT_LOGDIR}"
-  fi
-
-  coveragePrefix1=""
-  coveragePrefix2=""
-  coveragePrefix3=""
-  coveragePrefix4=""
-  coverageFile="coverage-master"
-  if [ "${COVERAGE_ENABLED}" = "true" ]; then
-    coveragePrefix1="NCover.Console.exe //x ${coverageFile}-1.xml"
-    coveragePrefix2="NCover.Console.exe //x ${coverageFile}-2.xml"
-    coveragePrefix3="NCover.Console.exe //x ${coverageFile}-3.xml"
-    coveragePrefix4="NCover.Console.exe //x ${coverageFile}-4.xml"
-  fi
-
-
-  if [ "${RUNSINGLETEST}" = "true" ]; then
-      echo "Running single test"
-      ${coveragePrefix1} ${NUNIT_CONSOLE} ${NUNIT_FLAGS} ${NUNIT_RUN_FLAG} "/xml=TestResult.xml"  "$@"  "${UNITTESTS_DLL}"  
-      if [ "${COVERAGE_ENABLED}" = "true" ]; then
-        echo NCover.Reporting.exe ${coverageFile}-1.xml merged-coverage.xml //s merged-coverage-tmp.xml
-        NCover.Reporting.exe ${coverageFile}-1.xml merged-coverage.xml //s merged-coverage-tmp.xml
-        mv -f merged-coverage-tmp.xml merged-coverage.xml
-      fi
-  else
-      echo "Tests mode is Sequential ${RUNSEQUENTIAL}"
-      if [ "${RUNSEQUENTIAL}" = "true" ]; then
-        ${coveragePrefix1} ${NUNIT_CONSOLE} ${NUNIT_FLAGS} ${NUNIT_RUN_FLAG} "/xml=TestResult.xml"  "$@"  "${UNITTESTS_DLL}"   
-        if [ "${COVERAGE_ENABLED}" = "true" ]; then
-          echo NCover.Reporting.exe ${coverageFile}-1.xml merged-coverage.xml //s merged-coverage-tmp.xml
-          NCover.Reporting.exe ${coverageFile}-1.xml merged-coverage.xml //s merged-coverage-tmp.xml
-          mv -f merged-coverage-tmp.xml merged-coverage.xml
-        fi
-      else
-
-        ${coveragePrefix1} ${NUNIT_CONSOLE} ${NUNIT_FLAGS} "/xml=TestResult1.xml" "/include=group1" "$@"  "${UNITTESTS_DLL}" &
-
-        sleep 1
-
-        ${coveragePrefix2} ${NUNIT_CONSOLE} ${NUNIT_FLAGS} "/xml=TestResult2.xml" "/include=group2" "$@"  "${UNITTESTS_DLL}" &
-
-        sleep 2
-
-        ${coveragePrefix3} ${NUNIT_CONSOLE} ${NUNIT_FLAGS} "/xml=TestResult3.xml" "/include=group3" "$@"  "${UNITTESTS_DLL}" &
-
-        sleep 3
-
-        ${coveragePrefix4} ${NUNIT_CONSOLE} ${NUNIT_FLAGS} "/xml=TestResult4.xml" "/include=group4" "$@"  "${UNITTESTS_DLL}" &
-
-        wait
-
-        cat "TestResult1.xml" "TestResult2.xml" "TestResult3.xml" "TestResult4.xml" > "TestResult.xml"
-
-        if [ "${COVERAGE_ENABLED}" = "true" ]; then
-	  echo NCover.Reporting.exe ${coverageFile}-1.xml ${coverageFile}-2.xml ${coverageFile}-3.xml ${coverageFile}-4.xml merged-coverage.xml //s merged-coverage-tmp.xml
-	  NCover.Reporting.exe ${coverageFile}-1.xml ${coverageFile}-2.xml ${coverageFile}-3.xml ${coverageFile}-4.xml merged-coverage.xml //s merged-coverage-tmp.xml
-          mv -f merged-coverage-tmp.xml merged-coverage.xml
-        fi
-      fi
-  fi
-
-  RESULT=success
-  if [ -n "${DUNIT_LOGDIR}" ]; then
-    mkdir -p failures
-    testFailures="`getFailures "${RESULT_XML}"`"
-    if [ -n "${testFailures}" ]; then
-      RESULT=fail
-      for failure in ${testFailures}; do
-        echo Failure in ${failure}.
-        if [ -f "${DUNIT_LOGDIR}/${failure}.log" ]; then
-          cp -f "${DUNIT_LOGDIR}/${failure}.log" failures
-          rm -f "${DUNIT_LOGDIR}/${failure}.log"
-        fi
-      done
-    fi
-  fi
-
-  cd "${ORIGPWD}"
-}
-
-resultPrompt()
-{
-  RESULT_TYPE="$1"
-  RESULTS_DIR="`getResultsDir "${RESULT_TYPE}"`"
-  if [ "${RESULT}" = "success" ]; then
-    echo
-    echo
-    echo "SUCCESS: All ${RESULT_TYPE} tests passed."
-  else
-    echo
-    echo
-    echo -n "FAILURE: Some ${RESULT_TYPE} tests failed"
-    if [ -d "${RESULTS_DIR}/failures" ]; then
-      echo "; see ${RESULTS_DIR}/failures"
-    else
-      echo
-    fi
-  fi
-  if [ -f "${RESULTS_DIR}/TestResult.xml" ]; then
-    echo "Test report is in: ${RESULTS_DIR}/TestResult.xml"
-  fi
-  if [ -n "${DUNIT_LOGDIR}" -a -d "${RESULTS_DIR}/${DUNIT_LOGDIR}" ]; then
-    echo "Output is in: ${RESULTS_DIR}/${DUNIT_LOGDIR}"
-  fi
-}
-
-getArgValue()
-{
-  echo "$1" | sed 's/^-[^=]*=//'
-}
-
-cleanUp()
-{
-  cd "${INITPWD}"
-  rm -f "${scriptDir}/gfcpp.properties"
-  taskkill /FI "USERNAME eq ${USER}" /F /IM ${NUNIT_CONSOLE} >/dev/null 2>/dev/null
-  taskkill /FI "USERNAME eq ${USER}" /IM FwkClient.exe >/dev/null 2>/dev/null
-  sleep 1
-  taskkill /FI "USERNAME eq ${USER}" /F /IM FwkClient.exe >/dev/null 2>/dev/null
-  if [ "$1" = "true" ]; then
-    sleep 1
-    rm -rf "${TESTRES}/csharp"
-  fi
-}
-
-
-isFlag="true"
-logging="true"
-useDebug="false"
-runMulticast="true"
-runUnicast="true"
-runDeprecated="true"
-runGenerics="true"
-DUNIT_LOGLEVEL="config"
-GFE_LOGLEVEL="config"
-GFE_SECLOGLEVEL="config"
-COVERAGE_ENABLED="false"
-runNet20="false"
-
-while [ "${isFlag}" = "true" ]; do
-  case $1 in
-    -logging=*)
-      logging="`getArgValue "$1"`";
-      shift;
-    ;;
-    -logLevel=*)
-      DUNIT_LOGLEVEL="`getArgValue "$1"`";
-      shift;
-    ;;
-    -gfeLogLevel=*)
-      GFE_LOGLEVEL="`getArgValue "$1"`";
-      shift;
-    ;;
-    -gfeSecLogLevel=*)
-      GFE_SECLOGLEVEL="`getArgValue "$1"`";
-      shift;
-    ;;
-    -coverage)
-      COVERAGE_ENABLED="true";
-      shift;
-    ;;
-    -debug=*)
-      useDebug="`getArgValue "$1"`";
-      shift;
-    ;;
-    -multicast=*)
-      runMulticast="`getArgValue "$1"`";
-      shift;
-    ;;
-    -unicast=*)
-      runUnicast="`getArgValue "$1"`";
-      shift;
-    ;;
-    -deprecated=*)
-      runDeprecated="`getArgValue "$1"`";
-      shift;
-    ;;
-    -generics=*)
-      runGenerics="`getArgValue "$1"`";
-      shift;
-    ;;
-    -clean)
-      echo Cleaning up ...
-      cleanUp true;
-      exit 0;
-    ;;	
-    -net20=*)	
-      runNet20="`getArgValue "$1"`";	  
-      shift;
-	  ;;
-    *)
-      isFlag="false";
-    ;;
-  esac
-done
-
-export DUNIT_LOGDIR="output"
-if [ -n "${OSBUILDDIR}" ]; then
-  OSBUILDDIR="`getPath "${OSBUILDDIR}"`"
-  if [ "${useDebug}" = "true" ]; then
-    if [ "${runNet20}" = "true" ]; then
-	  PATH="${OSBUILDEXTDIR}/hidden/lib/debug:${OSBUILDEXTDIR}/hidden/lib:${OSBUILDEXTDIR}/hidden/gpl:${OSBUILDEXTDIR}/product/bin:`getPath "${OPENSSL}/bin"`:${PATH}"
-	else
-      PATH="${OSBUILDDIR}/hidden/lib/debug:${OSBUILDDIR}/hidden/lib:${OSBUILDDIR}/hidden/gpl:${OSBUILDDIR}/product/bin:`getPath "${OPENSSL}/bin"`:${PATH}"
-	fi
-  else
-    if [ "${runNet20}" = "true" ]; then
-      PATH="${OSBUILDEXTDIR}/product/bin:${OSBUILDEXTDIR}/hidden/lib:${OSBUILDEXTDIR}/hidden/gpl:`getPath "${OPENSSL}/bin"`:${PATH}"
-	else
-	  PATH="${OSBUILDDIR}/product/bin:${OSBUILDDIR}/hidden/lib:${OSBUILDDIR}/hidden/gpl:`getPath "${OPENSSL}/bin"`:${PATH}"
-    fi
-  fi
-  TESTRES="${OSBUILDDIR}/tests/results"
-else
-  if [ "${useDebug}" = "true" ]; then
-    TESTRES="../../../../tests/results"
-  else
-    TESTRES="../../../tests/results"
-  fi
-fi
-if [ "${logging}" = "false" ]; then
-  unset DUNIT_LOGDIR
-fi
-if [ "${useDebug}" = "true" ]; then
-  TESTSRC="${TESTSRC:-../../../../../../../tests/clicache/UnitTests}"
-else
-  TESTSRC="${TESTSRC:-../../../../../../tests/clicache/UnitTests}"
-fi
-export TESTSRC DUNIT_LOGLEVEL GFE_LOGLEVEL GFE_SECLOGLEVEL COVERAGE_ENABLED PATH
-
-mkdir -p "${TESTRES}"
-mkdir -p "${TESTRES}/csharp"
-
-INITPWD="`pwd`"
-
-trap "cleanUp false" 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-
-
-if [ "${runUnicast}" = "true" ]; then
-
-  # Next the unicast tests
-
-  if [ "${runDeprecated}" = "true" ] || [ "${runGenerics}" = "false" ]; then
-    RESULT_TYPE="unicast-deprecated"
-  fi
-  if [ "${runDeprecated}" = "false" ] || [ "${runGenerics}" = "true" ]; then
-    RESULT_TYPE="unicast"
-  fi
-  echo Running the ${RESULT_TYPE} tests.
-  echo
-  DATE_STR="`date`"
-  MCAST_PORT="`getOpenPort`"
-  STACKTRACE="# No stacktrace"
-  if [ "${useDebug}" = "true" ]; then
-    STACKTRACE="stacktrace-enabled=true"
-  fi
-  rm -f "${scriptDir}/gfcpp.properties"
-  cat > "${scriptDir}/gfcpp.properties" << EOF
-# ${DATE_STR}
-stacktrace-enabled=true
-log-level=${DUNIT_LOGLEVEL}
-EOF
-
-  if [ -f "${scriptDir}/gfcpp.properties.mine" ]; then
-    cat "${scriptDir}/gfcpp.properties.mine" >> "${scriptDir}/gfcpp.properties"
-  fi
-  runTests "${RESULT_TYPE}" "$@"
-  resultPrompt "${RESULT_TYPE}"
-  if [ "${RESULT}" = "fail" ]; then
-    exit 1
-  fi
-
-fi
-
-
-if [ "${runMulticast}" = "true" ]; then
-
-  # First run the multicast tests
-
-  RESULT_TYPE="multicast"
-  echo Running the ${RESULT_TYPE} tests.
-  echo
-  DATE_STR="`date`"
-  MCAST_PORT="`getOpenPort`"
-  STACKTRACE="# No stacktrace"
-  if [ "${useDebug}" = "true" ]; then
-    STACKTRACE="stacktrace-enabled=true"
-  fi
-  rm -f "${scriptDir}/gfcpp.properties"
-  cat > "${scriptDir}/gfcpp.properties" << EOF
-# ${DATE_STR}
-${STACKTRACE}
-log-level=${DUNIT_LOGLEVEL}
-EOF
-  if [ -f "${scriptDir}/gfcpp.properties.mine" ]; then
-    cat "${scriptDir}/gfcpp.properties.mine" >> "${scriptDir}/gfcpp.properties"
-  fi
-  runTests "${RESULT_TYPE}" "$@"
-  resultPrompt "${RESULT_TYPE}"
-  if [ "${RESULT}" = "fail" ]; then
-    exit 1
-  fi
-
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runDriver.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runDriver.sh b/src/tests/cpp/scripts/runDriver.sh
deleted file mode 100755
index a46aa02..0000000
--- a/src/tests/cpp/scripts/runDriver.sh
+++ /dev/null
@@ -1,181 +0,0 @@
-#!/bin/bash
-## Let's take care of some basic needs
-#set -x
-fullscript=$0
-fullcmdline="$0 $*"
-cmdline=$*
-
-script=`basename $0`
-scriptLocation=`dirname $0`
-
-source $scriptLocation/genericFunctions
-source $scriptLocation/runDriverFunctions
-export AWK=`which nawk 2>/dev/null` ## Which awk to use
-export HOSTS=     ## Hosts given on commandline
-export UHOSTS=    ## unique hosts ( $HOSTS piped thru sort -u )
-export PHOSTS=    ## Hosts that will need provisioned/unprovisioned
-# Get our host name, ip address, and os
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-export GF_IPADDR=`nslookup $local 2>/dev/null | ${AWK:-awk} '{if ($1 ~ /Address:/) ip=$2}END{print ip}'`
-export myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-       
-
-
-# Let's bail if we have a command return an error while we are getting set up
-trap badcmd SIGINT ERR
-
-# Process the command line
-if [ $# -lt 2 ]
-then
-  usage "Too few arguments were specified."
-fi
-
-TSTIME=$SECONDS
-
-clearVars
-processArgs $*
-setLocations
-
-LOG "$fullcmdline"
-
-handleRestart
-
-processGroups 
-
-export SA_RUNNING=0
-if [ ${SSH_AGENT_PID:--1} -ne -1 ]
-then 
-  SA_RUNNING=`ps -fp $SSH_AGENT_PID 2>/dev/null | grep ssh-agent | wc -l`
-fi
-if [ $SA_RUNNING -eq 0 ]
-then
-  ## start ssh-agent
-  eval `ssh-agent`## > /dev/null
-  ssh-add > /dev/null 2>&1
-fi
-
-TRACE_ON
-
-verifyTestFiles
-
-# source env settings set defined during build, if any
-if [ -f $fwkdir/scripts/run.env ]
-then 
-  source $fwkdir/scripts/run.env
-fi
-
-miscDriverSetup
-export username=$USERNAME
-export passwrd=$PASSWORD
-export vmhosts=$VMHOSTS
-export vmnames=$VMNAMES
-export isvmotion=$VMOTION  #default is false
-export vminterval=$VMINTERVAL # mention the time interval in min to trigger the vmotion . eg: VMINTERVAL=5, which means vmotion will be trigeer every 5 minutes.
-if [ "$isvmotion" == "true" ]
-then
-  LOG " vmotion parameters are username = $username , vmhosts=$vmhosts , vmnames=$vmnames , vminterval=$vminterval"
-fi
-setJavaHome
-runLatestProp
-
-setupHosts
-
-LOG "Will start clients using: " $UHOSTS
-showSettings
-
-logTests
-
-####################################################################################################
-
-TestStart=$SECONDS
-if [ ${timeLimit:-0} -gt 0 ]
-then 
-  ((HardStop=$TestStart+$timeLimit+300))
-else
-  HardStop=0
-fi
-
-export summaryDirs=""
-
-testFileCnt=0
-for tfile in $testList
-do
-  # Let's ignore simple errors while we are in the loop
-  trap '' ERR
-  ((testFileCnt++))
-  if [ $testFileTotal -gt 1 ]
-  then
-    LOG "### Test file $tfile -- $testFileCnt of $testFileTotal"
-  else
-    LOG "### $tfile"
-  fi
-  if [ ! -f $fwkdir/xml/$tfile ]
-  then
-    WARN "Skipping $tfile, file not found."
-    continue
-  fi
-  
-  ## runIters loop
-  rcnt=0
-  while [ $rcnt -lt $runIters ]
-  do
-    ((rcnt++))
-    LOG "#########################################################"
-    LOG "### $tfile  -- Run $rcnt of $runIters"
-
-    Now=$SECONDS
-    STIME=$Now
-    TLIMIT=0
-    if [ $HardStop -gt 0 ]
-    then
-      if [ $HardStop -lt $Now ]
-      then
-        LOG "Skipping, time allowed for test run is used up."
-        continue
-      fi
-      ((TLIMIT=$HardStop-$Now))
-    fi
-    ## This will do many things, including creating the test directory, and cd'ing to it
-    setupTest
-    
-    provisionDir $PWD
-    
-    LOG "Using properties: "
-    LOGCONTENT gfcpp.properties
-    
-    # Chose a port for the driver to use in listening for clients
-    random 3031 31321 port
-    LOG "Using driver port $port"
-    
-    driverError=0 
-    LOG $vcmd Driver $TLIMIT $logDir $stestFile $port
-    # The || is needed to prevent ERR from being trapped if driver exits 
-    # abnormally (see man trap)
-    $vcmd Driver $TLIMIT $logDir $stestFile $port 2>&1 | tee Driver.log || driverError=$?
-    LOG "driverError value is $driverError"
-    if [ $driverError -ne 0 ]; then
-      ERROR "Error: Driver has returned $driverError, continuing with remaining tests"
-    fi
-    stopProcess Driver $PWD
-    summaryDirs="$summaryDirs $PWD"
-
-    stopAll all $PWD
-    
-    timeBreakDown $STIME
-    ftag=`echo $tfile | tr "\/\\\\\\\\" "____"`
-    touch test.$ftag
-    LOG "### $tfile  -- End of run $rcnt of $runIters"
-    LOG "#########################################################"
-    
-    doSubSummary
-    doGenCsvReport  
-    cd $BASEDIR 
-
-  done  ## end of runIters loop
-done  ## end of testList loop
-
-
-####################################################################################################
-
-cleanup


[2/3] geode git commit: GEODE-2332: Deleted deprecated tests scripts.

Posted by jb...@apache.org.
http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runDriverFunctions.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runDriverFunctions.sh b/src/tests/cpp/scripts/runDriverFunctions.sh
deleted file mode 100644
index 15bc1fb..0000000
--- a/src/tests/cpp/scripts/runDriverFunctions.sh
+++ /dev/null
@@ -1,1344 +0,0 @@
-
-setTool() {
-  if [ ${VALTOOL:-none} == "none" ]
-  then
-    useDebug=1
-    VALTOOL="--tool=$2"
-  else
-    WARN "Tool has already been specified, ignoring -$1 option."
-  fi
-}
-
-showSettings() {
-  if [ $testFileTotal -eq 0 ]
-  then
-    usage "No test files have been specified."
-  fi
-  if [ $useDebug -eq 1 ]
-  then
-    LOG "Will use debug libraries for test."
-  fi
-  if [ $unicastLocator -eq 1 ]
-  then
-	  LOG "Will use unicast locator for topic resolution."
-  fi
-  if [ ${VALTOOL:-none} != "none" ]
-  then
-    LOG "Will use $VALTOOL with valgrind."
-    if [ "${toolClients:-none}" != "none" ]
-    then
-      LOG "Will use valgrind only with clients: $toolClients." 
-    fi
-  fi
-  if [ "${toolClients:-none}" != "none" ]
-  then
-	  LOG "Will use valgrind with clients: $toolClients." 
-  fi
-  if [ "${POOLOPT:-none}" != "none" ]
-  then
-	  LOG "Will use pool scheme with clients: $POOLOPT." 
-  fi
-  if [ $testFileTotal -gt 1 ]
-  then
-    LOG "Will process $testFileTotal test files."
-  else
-    LOG "Will process $testFileTotal test file."
-  fi
-  if [ $runIters -gt 1 ]
-  then
-    LOG "Will execute $runIters test iterations per test file."
-  else
-    LOG "Will execute $runIters test iteration per test file."
-  fi
-  if [ $timeLimit -gt 0 ]
-  then
-    LOG "Run will be limited to $timeLimit seconds."
-  fi
-  DEBUG "PATH=$PATH"
-  DEBUG "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
-  DEBUG "Using framework build in $fwkbuild"
-}
-
-usage() {
-  LOG ""
-  LOG "Problem executing script: $script"
-  LOG ""
-  LOG "  $1"
-  LOG ""
-  LOG "Usage:   path_to_script/$script [ options as explained below ] [ hosts to run on ]"
-  LOG ""
-  LOG "The options are: ( at least one of these must be specified )"
-  LOG "  -x test_xml -- xml file containing test, this can be specified more than once"
-  LOG "  -l test_list -- file containing a list of test files, this can be specified more than once"
-  LOG "  Any combination of these two options are allowed."
-  LOG ""
-  LOG "  Optionally any of:"
-  LOG "  -W <windows build location>"
-  LOG "  -L <linux build location>"
-  LOG "  -S <solaris build location>"
-  LOG "    These locations must be specified as: host:path_to_build"
-  LOG "    For example:   tiny:/export/tiny1/users/tkeith/built/current"
-  LOG ""
-  LOG "  Optionally one of:"
-  LOG "  -D -- use debug build"
-  LOG "  -M -- use valgrind with memcheck to do memory checking"
-  LOG "  -C -- use valgrind with cachegrind to do cache profiling"
-  LOG "  -H -- use valgrind with massif to do heap profiling"
-  LOG "  -P -- use valgrind with callgrind to do function call profiling"
-  LOG "  -R -- use to upload the regression results into database table"
-  LOG ""
-  LOG "  Optionally:"
-  LOG "  -V path_to_valgrind -- location where valgrind is installed,"
-  LOG "         defaults to /gcm/where/cplusplus/perftools/valgrind"
-  LOG ""
-  LOG "  Optionally any of:"
-  LOG "  -r <n>  -- run test files n number of times, the default is once"
-  LOG "  -u -- use a unicast locator, default is to use multicast for topic resolution"
-  LOG "  -t n -- use the valgrind tool with this client, default is all clients, use multiple times to specify multple clients"
-  LOG "  -d <path> -- directory to use as cwd when starting test"
-  LOG "  -X <time_string> -- maximum amount of time for entire test run to run in"
-  LOG "  -N -- no execute mode, this exercises the framework, but clients do not run the task, they just return success"
-  LOG "  -h <file_containing_host_name> -- hosts to use in test"
-  LOG "  -m mail_address -- email address to send results of run to, can be specified multiple times"
-  LOG "  -o options_file -- file containing commandline options"
-  LOG "  -I -- do not copy the framework build before running tests"
-  LOG "  -k -- do not start the dialog killer on windows"
-  LOG "  -p [poolwithlocator/poolwithendpoints] -- to start the test with pool using locatorEndpoint/serverEndpoints"
-  LOG "  host list -- optional list of hosts to use in test, default is localhost"
-  LOG ""
-  LOG "  If no hosts are specified, all clients will be started on the local host."
-  LOG "  Hosts may be specified more than once on the command line."
-  LOG "  If the number of hosts is greater than the number of clients specified in the xml, one client per host will be started."
-  LOG "  If the xml specifies more clients than the number of hosts on the command line, the hosts will be used for multiple clients."
-  LOG "  Hosts will be selected for use round robin from the list on the command line."
-  LOG ""
-  LOG "  The script uses the path information to find other components it requires,"
-  LOG "  so the script must remain with the rest of the build results,"
-  LOG "  and the location of the script should not be part of the PATH environment variable,"
-  LOG "  and so the script should be invoked with a path prepended to the script, even if it is just ./runDriver"
-  LOG ""
-  LOG ""
-  terminate
-}
-
-##  while getopts ":IDMCHPkuNx:l:r:t:V:L:S:W:X:h:m:d:o:" op
-#-I -- do not copy the framework build before running tests
-#-D -- use debug build
-#-M -- use valgrind with memcheck
-#-C -- use valgrind with cachegrind
-#-H -- use valgrind with massif
-#-P -- use valgrind with callgrind
-#
-# at least one of the next two arguments are REQUIRED
-#-x <xml file> -- xml file containing test to run
-#-l <file containing names of xml files> -- list of xml files to run
-#
-#-r <n>  -- run test suite n number of times, the default is once, as if -r 1 was specified
-#-u -- use a unicast locator, default is to use multicast for topic resolution
-#-t n -- use the valgrind tool with this client, use 0 to indicate Driver program
-#-k -- do not start the dialog killer on windows
-#
-#-L <host>:<build_location> -- location of linux build to use for test
-#-S <host>:<build_location> -- location of solaris build to use for test
-#-W <host>:<build_location> -- location of windows build to use for test
-#
-#-V valgrind_location  -- location where valgrind is installed
-#
-#-h <file_containing_host_name> -- hosts to use in test
-#-m mail_address -- email address to send results of run to, can be specified multiple times
-#-d test_directory -- directory to use as base directory during test run
-#-X <time_string> -- maximum amount of time for entire test run to run in
-#-N -- tells Clients to not run tasks, just return success to Driver
-#
-#-o options_file -- file containing commandline options 
-#host list -- optional list of hosts to use in test, default is localhost
-
-processArgs() {
-  local scnt=0
-  local OPTIND=1
-  
-  while getopts ":IDMCHPRkuNx:l:r:t:V:L:S:W:X:h:m:d:o:p:s" op
-  do
-    case $op in
-      ( "I" ) useInplace=1 ;;
-      ( "D" ) useDebug=1 ;;
-      ( "s" )
-              TESTSTICKY="ON" 
-              ;;
-      ( "M" ) setTool $op memcheck
-        VALGRINDOPTS="--gen-suppressions=yes --workaround-gcc296-bugs=yes --leak-check=full --show-reachable=yes --leak-resolution=med"
-      ;;
-      ( "C" ) setTool $op cachegrind ;;
-      ( "H" ) setTool $op massif 
-        VALGRINDOPTS="--dump-instr=yes --depth=10 --collect-jumps=yes"
-          ;;
-      ( "P" ) setTool $op callgrind
-        #  VALGRINDOPTS="--separate-threads=yes --dump-instr=yes --collect-jumps=yes"
-        VALGRINDOPTS="--dump-instr=yes --collect-jumps=yes"
-      ;;
-      ( "W" ) ((scnt++))
-        cygBuild=$OPTARG
-      ;;
-      ( "L" ) ((scnt++))
-        linBuild=$OPTARG
-      ;;
-      ( "S" ) ((scnt++))
-        sunBuild=$OPTARG
-      ;;
-      ( "V" ) ((scnt++)) ; VALGRIND_INSTALL=$OPTARG ;;
-      ( "R" ) uploadDatabase=1 ;;
-      ( "X" ) ((scnt++)) ; runLimit=$OPTARG ;;
-      ( "x" ) ((scnt++)) ; clXmls="$clXmls $OPTARG" ; clTests="$clTests $OPTARG" ;;
-      ( "l" ) ((scnt++)) ; clLists="$clLists $OPTARG" ; clTests="$clTests $OPTARG" ;;
-      ( "r" ) ((scnt++))
-        case $OPTARG in 
-          ( [0-9]* ) runIters=$OPTARG ;;
-          ( * ) ;;
-        esac ;;
-      ( "u" ) unicastLocator=1 ;;
-      ( "k" ) noDialog=0 ;;
-      ( "t" ) ((scnt++)) ; toolClients="$toolClients $OPTARG" ;;
-      ( "d" ) ((scnt++)) ; DIRNAM=$OPTARG ;;
-      ( "p" ) ((scnt++)) ; 
-        poolopt=$OPTARG
-        if [ "${poolopt:-none }" != "none" ]
-        then
-          if [ "$poolopt" == "poolwithendpoints" ]
-          then
-            POOLOPT="$poolopt"
-          elif [ "${poolopt}" == "poolwithlocator" ]
-          then
-            POOLOPT="poolwithlocator"
-          fi
-        fi
-       ;;                                      
-      ( "m" ) ((scnt++)) ; mailAddrs="${mailAddrs} $OPTARG" ;;
-      ( "o" ) ((scnt++))
-        fil=$OPTARG
-        if [ -f $fil ]
-        then
-        for nam in `cat $fil | ${AWK:-awk} '{gsub(/#.*$/, ""); print}' | grep -e "-"`
-          do
-            xargs="$xargs $nam"
-          done
-          processArgs $xargs
-        fi
-      ;;
-      ( "h" ) ((scnt++))
-        fil=$OPTARG
-        if [ -f $fil ]
-        then
-          for nam in `cat $fil`
-          do
-            HOSTS="$HOSTS $nam"
-          done
-        fi
-      ;;
-      ( "N" ) noExecTasks=1 ;;
-      ( * ) WARN "Unknown argument provided: -$OPTARG, ignoring." ;;
-    esac
-    ((scnt++))
-  done
-
-  while [ $scnt -gt 0 ]
-  do
-    shift
-    ((scnt--))
-  done
-  if [ "${POOLOPT:- }" == " " ]
-  then
-   if [ ${num:-none } == "none" ]
-   then   
-     random 0 1 num
-   fi   
-   #LOG "num = $num"
-   if [ $num -eq 1 ]
-   then
-      POOLOPT="poolwithlocator"
-    else
-      POOLOPT="poolwithendpoints"
-   fi
-  fi
-  #LOG "pool is set as $POOLOPT" 
-  #LOG "TestSticky is set as $TESTSTICKY"
-  HOSTS="$HOSTS $*"
-}
-
-processGroups() {
-  if [ "${HOSTS:- }" == " " ]
-  then
-    HOSTS=$GF_FQDN
-  fi
-  
-  ## Scan HOSTS var looking for group tag
-  rm -rf hosts
-  mkdir hosts
-  for entry in $HOSTS
-  do
-    ## FwkClientSet::m_defaultGroup is defined as "DEFAULT", so we need to use it here
-    echo $entry | tr ":" " " | ${AWK:-awk} '{if ( NF == 1 ) print "DEFAULT", $1 ; else print $1, $2 }' > hst_tmp
-    read grp ahost < hst_tmp
-    fhost=`nslookup $ahost 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-    echo $fhost >> hosts/$grp
-    new_hosts="$new_hosts $fhost"
-  done
-  rm -f hst_tmp
-  HOSTS="$new_hosts"
-  
-  LOG "Commandline hosts are: $HOSTS"
-  export UHOSTS=`for nam in $HOSTS; do echo $nam; done | sort -u | tr '\n' ' '`
-}
-
-clearVars() {
-  ## Clear some values to be set by commandline args
-  export useInplace=0
-  export useDebug=0
-  export uploadDatabase=0
-  export runIters=1
-  export noExecTasks=0
-  export unicastLocator=0
-  export toolClients=
-  export testList=
-  export clXmls=
-  export clLists=
-  export clTests=
-  export rawTestList=
-  export HOSTS=
-  export hostnames=
-  export mailAddrs=
-  export runLimit=
-  export timeLimit=0
-  export noDialog=1
-  export DIRNAM=$PWD
-  export cygBuild=
-  export linBuild=
-  export sunBuild=
-  export testFileTotal=0
-  export VALTOOL=
-  export VALCMD=
-  export VALGRINDOPTS=
-  export VALGRIND_INSTALL=
-  export POOLOPT= 
-  export TESTSTICKY=
-  export username=
-  export passwrd=
-  export hosts=
-  export vmnames=
-  export isvmotion=false
-  export vminterval=0
-  LOG "TESTSTICKY value inside clearVars is $TESTSTICKY"
-}
-
-runLatestProp() {
-  ## executing LatestProp.java for fatching latest java properties
-  #LCP_PATH="$fwkbuild/framework/lib/javaobject.jar:$GEMFIRE/lib/gemfire.jar"
-  gcmdir=`echo $JAVA_HOME | sed 's/where.*/where/'` # gcmdir = /export/gcm/where or /gcm/where
-  LCP_PATH="$fwkbuild/framework/lib/javaobject.jar"
-  TESTDB_PATH="$fwkbuild/framework/lib/testdb.jar"
-  MYSQLCONN_PATH="$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  SERVERDEP="$GEMFIRE/lib/server-dependencies.jar"
-  if type -p cygpath >/dev/null 2>/dev/null; then
-   LCP_PATH="`cygpath -p -m "$LCP_PATH"`"
-   TESTDB_PATH="`cygpath -p -m "$TESTDB_PATH"`"
-   MYSQLCONN_PATH="`cygpath -p -m "$MYSQLCONN_PATH"`"
-   SERVERDEP="`cygpath -p -m "$SERVERDEP"`"
-   LCP_PATH="$LCP_PATH;$GEMFIRE/lib/gemfire.jar;$TESTDB_PATH;$MYSQLCONN_PATH"
-  else 
-   LCP_PATH="$LCP_PATH:$GEMFIRE/lib/gemfire.jar:$TESTDB_PATH:$MYSQLCONN_PATH:$SERVERDEP"
-  fi
-   
-  echo $JAVA_HOME -cp "$LCP_PATH" javaobject.LatestProp > $PWD/latest.prop
-  ${JAVA_HOME} -cp "$LCP_PATH" javaobject.LatestProp > $PWD/latest.prop
-}
-
-setLocations() {
-  chdir `dirname $fullscript`
-  local adir=$PWD  # absolute path
-  chdir -
-  adir=`dirname $adir`  # absolute path
-  fwkbuild=`dirname $adir`  # absolute path
-  export fwkdir=$fwkbuild/framework 
-}
-handleRestart() {
-  if [ ${DRIVER_RESTART:-no} == "no" ]
-  then
-    export DRIVER_RESTART="yes"
-    if [ ${LOGPREFIX:-none} == "none" ]
-    then
-      export LOGPREFIX=`date +'%y-%m-%d_%H-%M-%S'`
-    fi
-    mkdir -p $DIRNAM/$LOGPREFIX
-    chdir $DIRNAM/$LOGPREFIX
-    rm -f ../latest
-    ln -s $PWD ../latest
-    export BASEDIR=$PWD 
-    INITLOG $PWD/runDriver.log
-    if [ $useInplace -eq 0 ]
-    then
-      LOG "Copying framework build to $PWD/buildfwk"
-      rsync -rLq --exclude=docs --exclude=examples --exclude=vsd --delete $fwkbuild/product $fwkbuild/framework $fwkbuild/hidden buildfwk/
-      LOG "Restarting script from copied framework directory ..."
-      exec $PWD/buildfwk/framework/scripts/$script $cmdline
-    fi
-  fi ## driver restart
-}
-
-verifyTestFiles() {
-  local testSpecErrors=0
-  rawTestList=$clXmls
-  for nam in $clLists
-  do
-    fil=""
-    if [ -f $fwkdir/xml/$nam ]
-    then
-      fil=$fwkdir/xml/$nam
-    fi
-    if [ ${fil:-none} != "none" ]
-    then
-      for tst in `cat $fil | ${AWK:-awk} '{gsub(/#.*$/, ""); print}'`
-      do
-        rawTestList="$rawTestList $tst"
-      done
-    else
-      ERROR "List file: $nam could not be found in \"$fwkdir/xml\""
-      ((testSpecErrors++))
-    fi
-  done
-  testFileTotal=0
-  for nam in $rawTestList
-  do
-    if [ -f $fwkdir/xml/$nam ]
-    then
-      testList="$testList $nam"
-      ((testFileTotal++))
-    else
-      ERROR "Test file: $nam could not be found in $fwkdir/xml"
-      ((testSpecErrors++))
-    fi
-  done
-  
-  if [ $testSpecErrors -ne 0 ]
-  then
-    ERROR "Failure near line $LINENO of $0"
-    ERROR "Found $testSpecErrors error(s) when parsing your -x and -l options, please verify the paths to your xml files" 
-    terminate 
-  fi
-}
-
-logTests() {
-  LOG "Tests/Lists specified on the command line:"
-  for nam in $clTests
-  do
-    LOG "    $nam"
-  done
-  LOG "Resulted in these tests being selected to run:"
-  cnum=0
-  for nam in $testList
-  do
-    ((cnum++))
-    LOG "    $cnum  $nam"
-  done
-}
-
-miscDriverSetup() {
-  # Where are we?
-  currdir=`pwd`
-  mkdir -p envs
-  
-  if [ $noDialog -eq 1 -a "$myOS" == "CYG" ]
-  then
-    windowsDialogKiller $$ > windowsDialogKiller.log 2>&1 &
-    windowsDialogKillerPid=$!
-    LOG "Launched windowsDialogKiller $windowsDialogKillerPid"
-  fi
-
-  for fil in ../*.env ../gfcpp.properties ../gfcpp.gfe.properties ../gfcpp.*license ../gfcsharp.properties
-  do
-    if [ -f $fil ]
-    then
-      cp $fil .
-      if [ "${fil}" == "../gfcpp.env" ]
-      then
-        source $fil
-      fi
-    fi
-  done
-
-  if [ $useDebug -eq 1 ]
-  then
-    export dp="/debug"
-  else
-    export dp=""
-  fi
-  export GFE_INSTALL="/export/gcm/where/cplusplus/thirdparty/linux/gfe/product"
-  if [ ${VALTOOL:-none} != "none" ]
-  then
-    VALCMD="valgrind $VALTOOL $VALGRINDOPTS"
-  else
-    VALCMD=
-  fi
-  if [ ${VALGRIND_INSTALL:-none} == "none" ]
-  then
-    VALGRIND_INSTALL="/export/gcm/where/cplusplus/perftools/valgrind320"
-  fi 
-  ## content of envs/extra_env
-  echo -n "export UHOSTS=\"$UHOSTS\" ; " > envs/extra_env
-  for var in ${!GF*}
-  do
-    echo -n "export $var=\"${!var}\" ; " >> envs/extra_env
-  done
-  echo -n "export VALGRIND_INSTALL=$VALGRIND_INSTALL ; " >> envs/extra_env
-  echo -n "export VALCMD=\"$VALCMD\" ; " >> envs/extra_env
-  echo -n "export toolClients=\"$toolClients\" ; " >> envs/extra_env
-  echo -n "export driverHost=$GF_FQDN ; " >> envs/extra_env
-  echo -n "export POOLOPT=$POOLOPT ; " >> envs/extra_env
-  echo -n "export TESTSTICKY=$TESTSTICKY ; " >> envs/extra_env
-  if [ $noExecTasks -eq 0 ]
-  then
-    echo -n "export ne=' ' ; " >> envs/extra_env
-  else
-    echo -n "export ne='-N' ; " >> envs/extra_env
-  fi
-  
-  vp=
-  vl=
-  vcmd=
-  valLoc=$VALGRIND_INSTALL/$HOSTTYPE
-  contains 0 $toolClients
-  if [ -d $valLoc -a $RETVAL == 1 ]  ## Use valgrind on Driver
-  then
-    vp=$valLoc/bin
-    vl=$valLoc/lib
-    vcmd="$VALCMD"
-  fi
-  fp=$fwkbuild/framework
-  hp=$fwkbuild/hidden
-  pp=$fwkbuild/product
-  export PATH=$fp/scripts:$fp/bin$dp:$fp/lib$dp:$hp/lib$dp:$pp/lib:$pp/bin:$fp/bin/openssl:$vp:$PATH
-  export LD_LIBRARY_PATH=$fp/lib$dp:$hp/lib$dp:$hp/lib:$pp/lib:$fp/lib/openssl:$vl:$LD_LIBRARY_PATH
-
-  case $myOS in
-    ( "CYG" ) 
-      if [ ${cygBuild:-none} == "none" ]
-      then
-        cygBuild=$GF_IPADDR:$fwkbuild
-      fi ;;
-    ( "LIN" ) 
-      if [ ${linBuild:-none} == "none" ]
-      then
-        linBuild=$GF_IPADDR:$fwkbuild
-      fi ;;
-    ( "SUN" ) 
-      if [ ${sunBuild:-none} == "none" ]
-      then
-        sunBuild=$GF_IPADDR:$fwkbuild
-      fi ;;
-    ( * ) usage "This script not ready for use on $OSTYPE"  | tee -a $LOG ;;
-  esac
-  
-  if [ ${GFE_DIR:-NO_GFE_DIR_SPECIFIED} == "NO_GFE_DIR_SPECIFIED" ]
-  then
-    export GFE_DIR=$GFE_INSTALL
-  fi
-  
-  if [ ${runLimit:-none} != "none" ]
-  then
-    #toSeconds $runLimit
-    timeLimit=`TimeStr $runLimit`
-  fi
-  
-  trap '' ERR
-  ulimit -c unlimited 2> /dev/null
-  ulimit -n `ulimit -Hn` 2> /dev/null
-  trap badcmd ERR
-}
-
-writeHostSetup() {
-  echo "#!/bin/bash"
-  echo "#set -x"
-  echo "hst=\$1"
-  echo "myOS=\`uname | tr \"cyglinsu\" \"CYGLINSU\" | cut -b1-3\`"
-  echo ""
-  echo "valLoc=$VALGRIND_INSTALL/\$HOSTTYPE"
-  echo "if [ -d \$valLoc ]"
-  echo "then"
-  echo "  vp=\$valLoc/bin"
-  echo "  vl=\$valLoc/lib"
-  echo "else"
-  echo "  vp="
-  echo "  vl="
-  echo "fi"
-  echo ""
-  echo "unprov=0"
-  echo "if [ -d $BASEDIR ]" 
-  echo "then"
-  echo "  cd $BASEDIR" 
-  echo "else"
-  echo "  unprov=1"
-  echo "  mkdir -p ~/$LOGPREFIX"
-  echo "  cd ~/$LOGPREFIX"
-  echo "fi"
-  echo ""
-  echo "mkdir -p pids"
-  echo "mkdir -p envs"
-  echo "export BASEDIR=\$PWD"
-  echo "export ExtraPATH=\$PATH"
-  echo "export ExtraLibraryPATH=\$LD_LIBRARY_PATH"
-  echo ""
-  echo "if [ `uname` = \"SunOS\" ]"
-  echo "then"
-  echo "if [ `uname -p` = \"sparc\" ]"
-  echo "then"
-  echo "   JAVA_HOME_SUN=/export/gcm/where/jdk/1.7.0_79/sparcv9.Solaris/bin"
-  echo "   export ExtraPATH=/usr/ccs/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/sbin:/opt/SUNWspro/bin:\${HOME}/bin:\$JAVA_HOME_SUN:\$ExtraPATH"
-  echo "   export ExtraLibraryPATH=/opt/SUNWspro/lib:/opt/sfw/lib:/usr/sfw/lib:\$ExtraLibraryPATH"
-  echo "else"
-  echo "  export ExtraPATH=/usr/ccs/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/sbin:/opt/SUNWspro/bin:\$ExtraPATH"
-  echo "  export ExtraLibraryPATH=/opt/SUNWspro/lib:/opt/sfw/lib:/usr/sfw/lib:\$ExtraLibraryPATH"
-  echo "fi"
-  echo "fi"
-  echo ""
-  echo "echo -n \"export BASEDIR=\$BASEDIR \" > envs/\${hst}_tmp" 
-  echo "echo -n \" ; if [ \$myOS == \"CYG\" ] \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; then export BUILDDIR=\\\`cygpath -p -w \$BASEDIR/build_\$myOS\\\` \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; else export BUILDDIR=\$BASEDIR/build_\$myOS \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; fi \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; if [ \$myOS == \"CYG\" ] \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; then export GFCPP=\\\`cygpath -p -w \$BASEDIR/build_\$myOS/product\\\` \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; else export GFCPP=\$BASEDIR/build_\$myOS/product \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; fi \" >> envs/\${hst}_tmp"
-  echo "fp=\$PWD/build_\$myOS/framework"
-  echo "hp=\$PWD/build_\$myOS/hidden"
-  echo "pp=\$PWD/build_\$myOS/product"
-  #echo "echo -n \" ; export PATH=\$fp/scripts:\$fp/bin$dp:\$fp/lib$dp:\$hp/lib$dp:\$pp/lib:\$pp/bin:\$fp/bin/openssl:\$vp:\$PATH \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; export PATH=\$fp/scripts:\$fp/bin$dp:\$fp/lib$dp:\$hp/lib$dp:\$pp/lib:\$pp/bin:\$fp/bin/openssl:\$vp:\$ExtraPATH \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; export LD_LIBRARY_PATH=\$fp/lib$dp:\$hp/lib$dp:\$hp/lib:\$pp/lib:\$fp/lib/openssl:\$vl:\$ExtraLibraryPATH \" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; ulimit -c unlimited 2> /dev/null; ulimit -n \`ulimit -Hn\` 2> /dev/null\" >> envs/\${hst}_tmp"
-  echo "echo -n \" ; if [ -d \$BASEDIR ] ; then cd \$BASEDIR ; fi ;\" >> envs/\${hst}_tmp"
-  echo "export AWK=\`which nawk 2>/dev/null\`"
-  echo "if [ ! -d build_\$myOS ]"
-  echo "then"
-  echo "  ls *_BUILD_\$myOS > /dev/null 2>&1"
-  echo "  if [ \$? -ne 0 ]"
-  echo "  then"
-  echo "    touch \${hst}_BUILD_\$myOS"
-  echo "    sleep 3"
-  echo "    fnam=\`ls *_BUILD_\$myOS 2> /dev/null | \${AWK:-awk} '{if ( NR == 1 ) print \$1;}'\`"
-  echo "    snam=\`basename \$fnam _BUILD_\$myOS\`"
-  echo "    if [ \"\$snam\" == \$hst ]"
-  echo "    then"
-  echo "      echo \"     hostSetup:: \$hst will provision for \`uname\`\""
-  echo "      mkdir build_\$myOS && touch \${hst}_COPY"
-  echo "    fi"
-  echo "  fi"
-  echo "fi"
-  echo ""
-  echo "OK=1"
-  echo "if [ -f \${hst}_COPY ]"
-  echo "then"
-  echo "  CYGBuild=${cygBuild:-none}"
-  echo "  LINBuild=${linBuild:-none}"
-  echo "  SUNBuild=${sunBuild:-none}"
-  echo "  build_name=\${myOS}Build"
-  echo "  COPY_BUILD=\${!build_name:-none}"
-  echo "  if [ \$COPY_BUILD == \"none\" ]"
-  echo "  then"
-  echo "    OK=0"
-  echo "    echo \"     hostSetup:: ERROR: Build not specified for os: \`uname\`\""
-  echo "  else"
-  echo "    rsync -rLqe \"ssh -A -x -q\" --exclude=docs --exclude=examples --exclude=vsd \$COPY_BUILD/[fhp]\* build_\$myOS && OK=1"
-  echo "    echo \"     hostSetup:: \${hst}: provisioning for \`uname\` complete.\""
-
-#  echo "  if [ \$myOS == \"CYG\" ]"
-#  echo "  then"
-#  echo "    echo \"     Detected \$myOS : installing SxS dlls\""
-#  echo "#   Work around \"product is already installed\", install then repair"
-#  echo "    msiexec /quiet /log MSI.log /i build_\$myOS\\\\framework\\\\scripts\\\\fwk_provision.msi"
-#  echo "    msiexec /quiet /log MSI_repair.log /fa build_\$myOS\\\\framework\\\\scripts\\\\fwk_provision.msi && MSIOK=1"
-#  echo "    if [ \${MSIOK:-0} -ne 1 ]"
-#  echo "    then"
-#  echo "      OK=0"
-#  echo "      echo \"     hostSetup:: ERROR: installation of SxS dlls failed, see MSI*.log\""
-#  echo "    fi"
-#  echo "  fi"
-
-  echo "    cp build_\$myOS/framework/xml/*.xsd ."
-  echo "    cp build_\$myOS/framework/rcsinfo rcsinfo_\$myOS"
-  echo "  fi"
-  echo "  if [ \$unprov == 1 ]"
-  echo "  then"
-  echo "    touch \${hst}_UNPROV"
-  echo "  fi"
-  echo "  rm -f \${hst}_COPY"
-  echo "else"
-  echo "  tcnt=0"
-  echo "  while [ ! -f build_\$myOS/framework/scripts/startClient ]"
-  echo "  do"
-  echo "    ((tcnt++))"
-  echo "    sleep 20"
-  echo "    if [ \$tcnt -gt 10 ]"
-  echo "    then"
-  echo "      touch build_\$myOS "
-  echo "      touch build_\$myOS/framework "
-  echo "      touch build_\$myOS/framework/scripts "
-  echo "      touch build_\$myOS/framework/scripts/startClient "
-  echo "    fi"
-  echo "    if [ \$tcnt -gt 20 ]"
-  echo "    then"
-  echo "      OK=0"
-  echo "      break"
-  echo "    fi"
-  echo "    ls -R build_\$myOS >/dev/null 2>&1 "
-  echo "  done"
-  echo "fi"
-  echo ""
-  echo "flist="
-  echo "if [ \$OK -eq 1 ]"
-  echo "then"
-  echo "  if [ -f \${hst}_UNPROV ]"
-  echo "  then"
-  echo "    scp $GF_IPADDR:$BASEDIR/envs/extra_env envs/" 
-  echo "    echo \"rm -f envs/\${hst}_unprov\" >> \${hst}_unprovision"
-  echo "##    echo \"stopAll local\" >> \${hst}_unprovision"
-  echo "    cnt=0"
-  echo "    while [ -d pids/\$hst -a \$cnt -lt 6 ]"
-  echo "    do"
-  echo "      ((cnt++))"
-  echo "      sleep 10"
-  echo "    done"
-  echo "    echo \"rm -rf build_\$myOS\" >> \${hst}_unprovision"
-  echo "    echo \"unam=\\\`ls *_unprovision 2> /dev/null | \${AWK:-awk} '( NR == 1 ) { print \\\$1}'\\\`\" >> \${hst}_unprovision"
-  echo "    echo \"if [ \\\${unam:-none} == \"\${hst}_unprovision\" ]\" >> \${hst}_unprovision"
-  echo "    echo \"then\" >> \${hst}_unprovision"
-  echo "    echo \"  rsync --exclude build_* --exclude unprovision -rLqe \\\"ssh -A -q -x\\\" * $GF_IPADDR:$BASEDIR\" >> \${hst}_unprovision" 
-  echo "    echo \"  cd\" >> \${hst}_unprovision"
-  echo "    echo \"  sleep 20 ; rm -rf \$BASEDIR &\" >> \${hst}_unprovision"
-  echo "    echo \"fi\" >> \${hst}_unprovision"
-  echo "    touch envs/\${hst}_unprov"
-  echo "    flist=\"\$flist envs/\${hst}_unprov\""
-  echo "    rm -f \${hst}_UNPROV"
-  echo "  fi"
-  echo "  mv envs/\${hst}_tmp envs/\${hst}_env"
-  echo "  flist=\"\$flist envs/\${hst}_env\""
-  echo "else"
-  echo "  touch envs/\${hst}_bad"
-  echo "  flist=\"\$flist envs/\${hst}_bad\""
-  echo "fi"
-  echo "if [ \$unprov -eq 1 ]"
-  echo "then"
-  echo "  scp \$flist $GF_IPADDR:$BASEDIR/envs" 
-  echo "fi"
-  echo "rm -f \${hst}_BUILD_\$myOS"
-}
-
-waitForCompletion() {
-  if [ $# -lt 2 ]
-  then
-    echo "Too few arguments to waitForCompletion: \"$*\", require tag and at least one host name."
-    return
-  fi
-  local stime=$SECONDS
-  local tag=$1
-  shift
-  local whosts="$*"
-  argCount $whosts
-  local wcnt=$RETVAL
-  local dcnt=0
-  local bcnt=0
-  local tcnt=-1
-  local bad=
-  local good=
-  local allowed=0
-  local ival=0
-  local odiv=0
-  local etime=0
-  ((allowed=600+(30*$wcnt)))
-  ((ival=$allowed/10))
-  ((etime=$stime+$allowed))
-  while [ $tcnt -lt $wcnt ]
-  do
-    if [ $tcnt -gt -1 ]
-    then
-      dcnt=0
-      bcnt=0
-      bad=
-      good=
-      sleep 10
-    fi
-    for nam in $whosts
-    do
-      if [ -f $BASEDIR/envs/${nam}$tag ] 
-      then
-        good="$good $nam"
-        ((dcnt++))
-      fi
-      if [ -f $BASEDIR/envs/${nam}_bad ] 
-      then
-        bad="$bad $nam"
-        ((bcnt++))
-      fi
-    done
-    ((tcnt=$dcnt+$bcnt))
-    ((now=$SECONDS-$stime))
-    ((ndiv=$now/$ival))
-    if [ $ndiv -gt $odiv ]
-    then
-      odiv=$ndiv
-      LOG "$now of $allowed seconds used, $wcnt hosts total, $dcnt completed ok, $bcnt failed."
-      LOG "Completed hosts $good"
-    fi
-    if [ $now -gt $allowed ]
-    then
-      ERROR "Hosts failed to complete in time allowed."
-      ERROR "$allowed seconds allowed for $scnt hosts, $dcnt completed ok, $bcnt failed."
-      ERROR "Completed hosts $good"
-      terminate
-    fi
-  done
-  if [ "${bad:-none}" != "none" ]
-  then
-    ERROR "Hosts failed to complete successfully."
-    ERROR "$dcnt completed ok, $bcnt failed."
-    ERROR "$bad failed."
-    ERROT "$good Completed successfully."
-    terminate
-  fi
-}
-
-## First arg is host, rest are command to execute
-goHost() {
-  TRACE_ON
-  local host=$1
-  shift
-  local cmd="$*"
-  DEBUG "In goHost"
-  local ev="`cat $BASEDIR/envs/extra_env $BASEDIR/envs/${host}_env`" 
-  DEBUG "goHost: ssh -A -x -q -f $host \"$ev $cmd \" "
-  ssh -A -x -o "NumberOfPasswordPrompts 0" -f $host "$ev $cmd" 
-  DEBUG "goHost complete."
-  TRACE_OFF
-}
-
-provisionDir() {
-  sDir=$1
-  setPHOSTS
-  if [ "${PHOSTS:-none}" != "none" ]
-  then
-    LOG "Provisioning $sDir to: $PHOSTS"
-    for hst in $PHOSTS
-    do
-      LOG "Provision $hst"
-      goHost $hst "rsync -rLqe \"ssh -A -x -q\" $GF_IPADDR:$sDir . ; \
-                    touch tmp ; \
-                    scp tmp $GF_IPADDR:$BASEDIR/envs/${hst}_prov ; \
-                    rm tmp" 
-    done
-    LOG "Waiting for directory provisioning to complete."
-    waitForCompletion _prov $PHOSTS
-    rm -f $BASEDIR/envs/*_prov 
-    LOG "Directory provisioning complete."
-  fi
-}
-
-teardownHosts() {
-  setPHOSTS
-  if [ "${PHOSTS:-none}" != "none" ]
-  then
-    LOG "Unprovisioning hosts: $PHOSTS"
-    for hst in $PHOSTS
-    do
-      LOG "Unprovision $hst"
-      rm -f $BASEDIR/envs/${hst}_unprov
-      goHost $hst "touch envs/${hst}_done ; source ./${hst}_unprovision"
-    done
-    LOG "Waiting for host unprovisioning to complete."
-    waitForCompletion _done $PHOSTS
-    rm -f $BASEDIR/envs/*_done 
-    LOG "Host unprovisioning complete."
-  fi
-}
-  
-sshCheckHosts() {
-  local failed=0
-  LOG "Checking access to hosts ..."
-  for hnam in $*
-  do
-    res=`ssh -A -x -q $hnam "ssh -A -x -q $GF_FQDN echo OK"`
-    if [ "${res:-NOTOK}" != "OK" ]
-    then
-      ERROR "SSH PROBLEM between $hnam and $GF_FQDN"
-      ((failed++))
-    fi
-  done
-  if [ $failed -ne 0 ]
-  then
-    ERROR "Unable to run tests due to ssh problems with $failed hosts."
-    ERROR "Resolve host access issues and try again."
-    terminate
-  fi
-}
-
-setupHosts() {
-  sshCheckHosts $UHOSTS
-  
-  writeHostSetup > hostSetup
-  chmod +rwx hostSetup
-  
-  for hst in $UHOSTS
-  do
-    LOG "Setting up $hst"
-    dest=./hostSetup${hst}_$$
-    ssh -A -x -o "NumberOfPasswordPrompts 0" -f $hst "rm -f $dest ; \
-                     scp $GF_IPADDR:$BASEDIR/hostSetup $dest ; \
-                     $dest $hst ; \
-                     rm -f $dest &" 
-  done
-  
-  LOG "Waiting for host setup to complete."
-  waitForCompletion _env $UHOSTS
-  LOG "Host setup complete."
-}
-
-setPHOSTS() {
-  export PHOSTS= 
-  for nam in `ls -1 $BASEDIR/envs | grep _unprov`
-  do
-    uhst=`basename $nam _unprov`
-    PHOSTS="${PHOSTS:-} $uhst"
-  done
-}
-
-setupTest() {
-  logbase=`basename $tfile .xml`
-  perfstatFile=`echo $tfile | sed 's/.xml$//'`
-  if [ "$PERFTEST" == "true" ]
-  then
-    export latestPropFile=${perfstatFile}.conf
-  else
-    export latestPropFile=${perfstatFile}.xml
-  fi
-  #echo $perfstatFile
-  export stestFile=${logbase}.xml
-  
-  if [ $testFileTotal -gt 1 ]
-  then
-    tfSuff=$testFileCnt
-  else
-    tfSuff=""
-  fi
-  if [ $runIters -gt 1 ]
-  then
-    riSuff=$rcnt
-  else
-    riSuff=""
-  fi
-  if [ ${#tfSuff} -gt 0 -a ${#riSuff} -gt 0 ]
-  then
-    sep="."
-  else
-    sep=""
-  fi
-  prefix=$tfSuff$sep$riSuff
-  if [ ${prefix:-xXx} != "xXx" ]
-  then 
-    prefix=${prefix}_
-  fi
-  logDate=`date +'-%m%d-%H%M%S'`
-  logDir=${logbase}${logDate}
-  mkdir -p $logDir
-  
-  rm -f $logDir/gfcpp.properties
-  echo "log-level=Info" >> $logDir/gfcpp.properties
-  echo "stacktrace-enabled=true" >> $logDir/gfcpp.properties
-  
-  mkdir -p pids/$GF_FQDN/$logDir
-  
-  if [ $unicastLocator -eq 1 ]
-  then
-    export LBM_LICENSE_INFO='Organization=GemStone:Expiration-Date=never:License-Key=B05B CCC1 D6B5 288C'
-    LOG "Starting a unicast resolver on $GF_FQDN"
-    $fwkbuild/product/lib/gfcpp_locator &
-    echo $! > pids/$GF_FQDN/$logDir/locator_pid
-    echo "locators=$GF_IPADDR" >> $logDir/gfcpp.properties
-  fi
-    
-  for fil in *.env gfcpp.*properties 
-  do
-    if [ -f $fil ]
-    then
-      cat $fil >> $logDir/$fil
-    fi
-  done
-
-  for fil in gfcpp.*license gfcsharp.properties gfcsharp.env gfcppcsharp.env
-  do
-    if [ -f $fil ]
-    then
-      cp $fil $logDir
-    fi
-  done
-
-  cp $fwkdir/xml/$tfile $logDir
-  #cp $fwkdir/xml/${perfstatFile}.spec $logDir/statistics.spec
-  cp $fwkdir/xml/*.xsd .
-  
-  chdir $logDir
-  LOG "Using test directory: $logDir"
-  export valRes=0
-  LOG "Validate: $stestFile" | tee Val_${stestFile}.log
-  Validate $stestFile  2>&1 >> Val_${stestFile}.log || valRes=$?
-  if [ $valRes -ne 0 ]
-  then
-    ERROR "$stestFile failed xml parsing. ( $valRes )"
-    LOGCONTENT Val_${stestFile}.log
-    break
-  fi
-  # These files required for smoke perf tests comparision with hydra perf tool.
-  echo "perffmwk.comparisonKey=${logbase}" >> ${logbase}.prop
-  #echo "TestName=${perfstatFile}.conf" >> latest.prop
-  echo "nativeClient.TestType=C++" >> latest.prop
-  echo "nativeClient.Hosts=$UHOSTS" >> latest.prop
-  #cat ../../latest.prop >> latest.prop
-  rm -f local.files
-  LOG FileProcessor $stestFile | tee FileProcessor.log
-  FileProcessor $stestFile 2>&1 | tee -a FileProcessor.log
-}
-
-doSubSummary() {
-  FIRST="first.part"
-  LAST="last.part"
-  rm -f $FIRST $LAST
-  
-  LOGTO $FIRST "---------------------------"
-  LOGTO $FIRST "Test results are in $PWD"
-  LOGTO $FIRST "Ran test: $tfile  -- Run $rcnt of $runIters"
-  LOGTO $FIRST "Test used: $TIMEBREAKDOWN"
-  LOGTO $FIRST "  "
-  LOGTO $FIRST "Results Summary"
-  LOGTO $FIRST "---------------------------"
-
-  LOGTO $LAST "End of $tfile test run  -- $rcnt of $runIters"
-  LOGTO $LAST "---------------------------"
-  LOGTO $LAST ""
-  LOGTO $LAST ""
-}
-doGenCsvReport()
-{
-    echo "Generating csv report..."
-  REPORT="error.report"
-  FIRST="first.part"
-  MIDDLE="middle.part"
-  LAST="last.part"
-  FullReport="../error.report"
-  CSVREPORT="regression.csv"
-  FullCsvReport="../regression-$LOGPREFIX.csv"
-  is64bit=__IS_64_BIT__
-  if [ $is64bit -eq 1 ]; then
-    ARCH="64"
-  else
-    ARCH="32"
-  fi
-
-    gcmdir=`echo $JAVA_HOME | sed 's/where.*/where/'` # gcmdir = /export/gcm/where or /gcm/where
-  CP_PATH="$fwkbuild/framework/lib/testdb.jar"
-  if type -p cygpath >/dev/null 2>/dev/null; then
-   CP_PATH="`cygpath -p -m "$CP_PATH"`"
-   CP_PATH="$CP_PATH;$GEMFIRE/lib/gemfire.jar;$JTESTS;$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  else
-   CP_PATH="$CP_PATH:$GEMFIRE/lib/gemfire.jar:$JTESTS:$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  fi
-
-    cd $PWD
-    cat ../latest.prop >> latest.prop
-    DIR_NAME="$PWD"
-    if type -p cygpath >/dev/null 2>/dev/null; then
-      DIR_NAME="`cygpath -p -m "$PWD"`"
-    fi
-    # Generating perfreport.txt for each tests in the last because it need latest.prop which comes after unprovisionig in completion of the tests.
-    if [ "$PERFTEST" == "true" ]
-    then
-      echo $JAVA_HOME -cp "$CP_PATH" -DJTESTS=$GFE_DIR/../tests/classes -Dgemfire.home=$GEMFIRE perffmwk.PerfReporter "$DIR_NAME"
-      $JAVA_HOME -cp "$CP_PATH" -DJTESTS=$GFE_DIR/../tests/classes -Dgemfire.home=$GEMFIRE perffmwk.PerfReporter "$DIR_NAME"
-      if [ ! -f $DIR_NAME/../../summary.prop ]
-      then
-       cp -f $DIR_NAME/latest.prop $DIR_NAME/../../summary.prop
-      fi
-      cp -r $DIR_NAME $DIR_NAME/../../.
-    fi
-    rm -f $MIDDLE $REPORT
-    grep SUMMARY Driver.log >> $FIRST || LOGTO $FIRST "No SUMMARY lines found."
-    LOGTO $MIDDLE "---------------------------"
-    LOGTO $MIDDLE "Suspect strings:"
-    grepLogs.pl $PWD >> $MIDDLE 2>&1
-    LOGTO $MIDDLE "---------------------------"
-    mcnt=`wc -l $MIDDLE | ${AWK:-awk} '{print $1}'`
-    if [ $mcnt -gt 10 ]
-    then
-      WARNTO $FIRST "$mcnt lines of suspect string content associated with this test:"
-      WARNTO $FIRST " "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               $FullReport "$mcnt lines of suspect string content associated with this test. Details in: $PWD/$REPORT"
-    fi
-    ${AWK:-awk} -F "=" '/^Name/ {print ""; next} {printf "%s,", $2} ' latest.prop > $CSVREPORT
-    TESTDATENTIME=`date +'%m/%d/%Y %T %Z'`
-    ls failure.txt > /dev/null 2>&1
-    if [ $? -ne 0 ]
-    then
-     echo "$POOLOPT,$PWD,pass,$myOS,$ARCH,$TESTDATENTIME" >>  $CSVREPORT
-    else
-     echo "$POOLOPT,$PWD,fail,$myOS,$ARCH,$TESTDATENTIME" >>  $CSVREPORT
-    fi
-    cat $FIRST >> $REPORT
-    cat $FIRST >> $FullReport
-    cat $MIDDLE >> $REPORT
-    cat $LAST >> $REPORT
-    cat $LAST >> $FullReport
-    cd $currDir
-
-}
-doSummary() {
-  echo "Generating tests summary..."
-  REPORT="error.report"
-  FIRST="first.part"
-  MIDDLE="middle.part"
-  LAST="last.part"
-  FullReport="../error.report"
-  CSVREPORT="regression.csv"
-  FullCsvReport="../regression-$LOGPREFIX.csv"
-  is64bit=__IS_64_BIT__
-  if [ $is64bit -eq 1 ]; then
-    ARCH="64"
-  else
-    ARCH="32"
-  fi
-
-
-  
-  if [ "$summaryDirs" == "" ]
-  then
-    LOGTO $REPORT "No test results to summarize."
-    return
-  fi
-  gcmdir=`echo $JAVA_HOME | sed 's/where.*/where/'` # gcmdir = /export/gcm/where or /gcm/where
-  CP_PATH="$fwkbuild/framework/lib/testdb.jar"
-  if type -p cygpath >/dev/null 2>/dev/null; then
-   CP_PATH="`cygpath -p -m "$CP_PATH"`"
-   CP_PATH="$CP_PATH;$GEMFIRE/lib/gemfire.jar;$JTESTS;$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  else 
-   CP_PATH="$CP_PATH:$GEMFIRE/lib/gemfire.jar:$JTESTS:$gcmdir/java/mysql/mysql-connector-java-5.1.8-bin.jar"
-  fi
-  #if [ $myOS == "CYG" ]
-  #then
-  #  CP_PATH="$GEMFIRE/lib/gemfire.jar;$JTESTS"
-  #else
-  #  CP_PATH="$GEMFIRE/lib/gemfire.jar:$JTESTS"
-  #fi
-  
-  
-  for dnam in $summaryDirs
-  do
-    cd $dnam
-    cat $CSVREPORT >> $FullCsvReport
-    #echo "rjk --- $gcmdir"
-    if [ $uploadDatabase -eq 1 ]
-    then
-      echo $JAVA_HOME -cp "$LCP_PATH" testdb.insertRegressionData ${FullCsvReport}
-      $JAVA_HOME -cp "$LCP_PATH" testdb.insertRegressionData ${FullCsvReport}
-    fi
-    rm -f $FIRST $MIDDLE $LAST
-    cd $currDir
-  done
-  
-  # Now mail out the results, if $mailAddrs is set
-  if [ "${mailAddrs:-none}" != "none" ]
-  then
-    case $myOS in
-      ( "CYG" ) 
-        MAILPROG= ;;
-      ( "LIN" ) 
-        MAILPROG=mail ;;
-      ( "SUN" ) 
-        MAILPROG=mailx ;;
-      ( * ) usage "This script not ready for use on $OSTYPE"  | tee -a $LOG ;;
-    esac
-    MAILPROG=`which $MAILPROG`
-    if [ "${MAILPROG:none}" == "none" ]
-    then
-      ERROR "Results cannot be mailed to $mailAddrs, no mail program found."
-    else
-    LOG $MAILPROG -s "Test run results for: $clTests" $mailAddrs
-      cat error.report | $MAILPROG -s "Test run results for: $clTests" $mailAddrs
-    fi
-  fi
-  for ftnam in $clTests
-  do
-    tr_ftnam=`echo $ftnam | tr "\/\\\\\\\\" "____"`
-    touch ran.$tr_ftnam
-  done
-}
-
-cleanup() {
-  stopProcess Driver $PWD
-  cd $BASEDIR 
-  
-  stopAll all
-  LOG "Waiting for all test processes to exit."
-  numHosts=0
-  for hst in $UHOSTS
-  do
-    ((cnt++))
-  done
-  sleepTime=20
-  ((sleeptime+=$numHosts/10))
-  sleep $sleepTime ## give stop commands on hosts a chance to complete
-  
-  ## Unprovision hosts
-  teardownHosts
-  
-  doSummary
-  
-  stopWindowsDialogKiller # NOOP if not on cygwin
-  
-  if [ $SA_RUNNING -eq 0 ] ## If we started it, we stop it
-  then
-    ## Stop ssh-agent
-    eval `ssh-agent -k` ##> /dev/null
-  fi
-  
-  dirs="`ls -1d build_[CSL]* 2> /dev/null`"
-  for nam in $dirs
-  do
-    rm -rf $nam
-  done
-  
-  timeBreakDown $TSTIME
-  rm -f latest.prop
-  LOG "Test run used: $TIMEBREAKDOWN"
-  LOG "Test results are in $currdir"
-  LOG "Test run complete."
-  
-  ( sleep 200 ; rm -rf buildfwk ) &
-}
-
-## Used only by timeBreakDown
-buildResult() {
-  if [ $# -eq 0 ]
-  then
-    BUILDRESULT=""
-    return
-  fi
-
-  if [ -z "$BUILDRESULT" ]
-  then
-    sep=""
-  else
-    sep=","
-  fi
-
-  case $1 in
-    0) ;;
-    1) BUILDRESULT="${BUILDRESULT}$sep $1 ${2}" ;;
-    *) BUILDRESULT="${BUILDRESULT}$sep $1 ${2}s" ;;
-  esac
-}
-
-## Convert a number of seconds into a string giving days, hours, minutes, seconds
-timeBreakDown() {
-  end=$SECONDS
-  ((tot=$end-$1))
-  ((day=$tot/86400))
-  ((dayR=$tot%86400))
-  ((hr=$dayR/3600))
-  ((hrR=$dayR%3600))
-  ((min=$hrR/60))
-  ((sec=$hrR%60))
-
-  buildResult
-  buildResult $day day
-  buildResult $hr hour
-  buildResult $min minute
-  buildResult $sec second
-  TIMEBREAKDOWN=$BUILDRESULT
-}
-
-#### Convert a time string, as used in test xml, to a number of seconds
-##toSeconds() {
-##  resultSeconds=`echo $1 | ${AWK:-awk} ' \
-##  function toSeconds( val, chr ) { \
-##    if ( chr == "m" ) \
-##      return val * 60; \
-##    if ( chr == "h" ) \
-##      return val * 3600; \
-##    return val; \
-##  } \
-##  { \
-##    match( tolower( $0 ), "(^[[:digit:]]*)([[:alpha:]]*)([[:digit:]]*)([[:alpha:]]*)([[:digit:]]*)([[:alpha:]]*)", darr ); \
-##    seconds = toSeconds( darr[1], darr[2] ); \
-##    seconds += toSeconds( darr[3], darr[4] ); \
-##    seconds += toSeconds( darr[5], darr[6] ); \
-##    print seconds; \
-##  }'`
-##}
-
-windowsDialogKiller() {
-  # This function is launched into the background and detects+kills the process that Windows creates when it has detected a crash.
-  parent=$1 #PID of the parent process, script exits if no longer running
-  sleepInterval=300
-
-  #Run as long as the parent is alive
-  while ( /bin/kill -s0 $parent > /dev/null 2>&1 )
-  do
-    sleep $sleepInterval 
-    pid=`ps -W | ${AWK:-awk} '/dwwin.exe/{print $1}'`
-    if [ ! -z "$pid" ]
-    then
-      #Found a Windows error dialog, killing it to prevent hang
-      WARN "Found an instance of dwwin.exe, Driver.exe has likely crashed"
-      if ( /bin/kill -f $pid )
-      then
-        WARN "Dialog: $pid killed."
-      else
-        ERROR "Failed to kill dialog: $pid"
-      fi
-    fi 
-  done 
-}
-
-stopWindowsDialogKiller() {
-  if [ ! -z "$windowsDialogKillerPid" ]
-  then
-    # We also have to kill the sleep process 
-    sleepPid=`ps -ef | grep $windowsDialogKillerPid | ${AWK:-awk} '/sleep/{print $2}'`
-    LOG "Shutting down windowsDialogKiller pid=$windowsDialogKillerPid"
-    /bin/kill -f $windowsDialogKillerPid
-    /bin/kill -f $sleepPid
-  fi
-  if [ -f windowsDialogKiller.log ]
-  then
-    LOGCONTENT windowsDialogKiller.log
-    rm -f windowsDialogKiller.log
-  fi
-}
-setJavaHome() {
-# setup GF_JAVA
-case $myOS in
-  ( "SUN" ) myBits=64 ;;
-  ( * )
-   if [ $HOSTTYPE != `basename $HOSTTYPE 64` ]
-    then
-      myBits=64
-    else
-      myBits=32
-    fi
-  ;;
-  esac
-  defaultjava=GF_JAVA
-  var_name=GF_JAVA_${myOS}_${myBits}
-  gfjava_name=${!var_name:-${!defaultjava}}
-  if type -p cygpath >/dev/null 2>/dev/null; then
-   GFE_DIR="`cygpath -m "$GFE_DIR"`"
-   gfjava_name="`cygpath -m "$gfjava_name"`"
-  fi
-  export GEMFIRE=$GFE_DIR
-  export JAVA_HOME=${gfjava_name}
-  export JTESTS=$GFE_DIR/../tests/classes
-  echo "GEMFIRE = $GEMFIRE JAVA_HOME=$JAVA_HOME JTESTS=$JTESTS"
-}

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runPerfTest.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runPerfTest.sh b/src/tests/cpp/scripts/runPerfTest.sh
deleted file mode 100644
index f4a1396..0000000
--- a/src/tests/cpp/scripts/runPerfTest.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-#set -x
-script=`basename $0`
-OSBUILDDIR=$1 # c++ build directory path
-JAVA_HOME=$2  # java path 
-GEMFIRE=$3    # gemfire path
-RESULT_DIR=$4    # directory path from where you start the tests
-#HYDRA_DIR=$7
-echo $RESULT_DIR
-export PERFTEST=true
-#Do framework setup, mostly creating the config files
-#/export/bass2/users/rkumar/project/ThinClient_3100/build-artifacts/linux/framework/scripts/runPerfTest /export/bass2/users/rkumar/project/ThinClient_3100/build-artifacts/linux /export/gcm/where/jdk/1.6.0_7/x86_64.linux/bin/java /gcm/where/gemfire/60/snaps.Any/snapshots.24944/gf60MAINTsancout/product . scat snook 
-
-if [ $# -lt 6 ]
-then
-  echo "Problem executing script: $script"
-  echo ""
-  echo "Too few arguments were specified."
-  echo ""
-  echo "Usage:   path_to_script/$script OSBUILDDIR JAVA_HOME GEMFIRE RESULT_DIR HOST1 HOST2"
-  echo ""
-  echo " Where:"
-  echo " OSBUILDDIR -- C++ build directory"
-  echo " JAVA_HOME -- Java path"
-  echo " GEMFIRE -- Gemfire java path"
-  echo " RESULT_DIR -- Directory to use as cwd when starting test"
-  echo " HOST1 -- First hosts to use in test"
-  echo " HOST2 -- Second hosts to use in test"
-  echo ""
-  exit
-fi
-cp $OSBUILDDIR/hidden/internal.license.nativeclientonly.zip gfcpp.native.license
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-
-cat << __ENV_END  > $RESULT_DIR/gfcpp.env
-GF_JAVA_${myOS}_32=$JAVA_HOME
-GF_JAVA_${myOS}_64=$JAVA_HOME
-GF_JAVA=$JAVA_HOME
-GFE_DIR=$GEMFIRE
-GF_DEBUG_WAIT=600
-__ENV_END
-
-cat << __GFE_PROPS_END > $RESULT_DIR/gfcpp.gfe.properties
-__GFE_PROPS_END
-
-cat << __CPP_PROPS_END > $RESULT_DIR/gfcpp.properties
-log-level=info
-license-file=gfcpp.native.license
-__CPP_PROPS_END
-
-#call runDriver
-# $5 and $6 are the host names.
-$OSBUILDDIR/framework/scripts/runDriver -l perf.list CS1:$5 CS2:$6
-#rm -f $RESULT_DIR/latest.prop $RESULT_DIR/perfcom*
-#Generate report
-#JTESTS=$GEMFIRE/../tests/classes
-#$JAVA_HOME -cp $HYDRA_DIR:$GEMFIRE/lib/gemfire.jar <fillout command line to generate reports>
-#$JAVA_HOME -cp $GEMFIRE/lib/gemfire.jar:$JTESTS -Xmx750m -Dmode=raw -DomitFailedTests=true -DcompareByKey=true -DJTESTS=$JTESTS -Dgemfire.home=$GEMFIRE -DaddTestKey=true perffmwk.PerfComparer latest

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/runScalePerf.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/runScalePerf.sh b/src/tests/cpp/scripts/runScalePerf.sh
deleted file mode 100644
index e4ffbc5..0000000
--- a/src/tests/cpp/scripts/runScalePerf.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-#set -x
-script=`basename $0`
-OSBUILDDIR=$1 # c++ build directory path
-JAVA_HOME=$2  # java path 
-GEMFIRE=$3    # gemfire path
-RESULT_DIR=$4    # directory path from where you start the tests
-#HYDRA_DIR=$7
-echo $RESULT_DIR
-export PERFTEST=true
-#Do framework setup, mostly creating the config files
-#/export/bass2/users/rkumar/project/ThinClient_3100/build-artifacts/linux/framework/scripts/runPerfTest /export/bass2/users/rkumar/project/ThinClient_3100/build-artifacts/linux /export/gcm/where/jdk/1.6.0_7/x86_64.linux/bin/java /gcm/where/gemfire/60/snaps.Any/snapshots.24944/gf60MAINTsancout/product . w1-gst-dev01 w1-gst-dev02 w1-gst-dev03 w1-gst-dev04 w1-gst-dev05 w1-gst-dev06 w1-gst-dev07 w1-gst-dev08
-
-if [ $# -lt 6 ]
-then
-  echo "Problem executing script: $script"
-  echo ""
-  echo "Too few arguments were specified."
-  echo ""
-  echo "Usage:   path_to_script/$script OSBUILDDIR JAVA_HOME GEMFIRE RESULT_DIR HOST1 HOST2"
-  echo ""
-  echo " Where:"
-  echo " OSBUILDDIR -- C++ build directory"
-  echo " JAVA_HOME -- Java path"
-  echo " GEMFIRE -- Gemfire java path"
-  echo " RESULT_DIR -- Directory to use as cwd when starting test"
-  echo " HOST1 -- First hosts to use in test"
-  echo " HOST2 -- Second hosts to use in test"
-  echo ""
-  exit
-fi
-cp $OSBUILDDIR/hidden/internal.license.nativeclientonly.zip gfcpp.native.license
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-
-cat << __ENV_END  > $RESULT_DIR/gfcpp.env
-GF_JAVA_${myOS}_32=$JAVA_HOME
-GF_JAVA_${myOS}_64=$JAVA_HOME
-GF_JAVA=$JAVA_HOME
-GFE_DIR=$GEMFIRE
-GF_DEBUG_WAIT=600
-__ENV_END
-
-cat << __GFE_PROPS_END > $RESULT_DIR/gfcpp.gfe.properties
-__GFE_PROPS_END
-
-cat << __CPP_PROPS_END > $RESULT_DIR/gfcpp.properties
-log-level=info
-license-file=gfcpp.native.license
-__CPP_PROPS_END
-
-host1=$5
-
-#call runDriver
-# $5 and $6 are the host names.
-$OSBUILDDIR/framework/scripts/runDriver -l scale.list CS1:$5 CS1:$6 CS1:$7 CS1:$8 CS2:$9 CS2:$10 CS3:$11 CS3:$12
-#rm -f $RESULT_DIR/latest.prop $RESULT_DIR/perfcom*
-#Generate report
-#JTESTS=$GEMFIRE/../tests/classes
-#$JAVA_HOME -cp $HYDRA_DIR:$GEMFIRE/lib/gemfire.jar <fillout command line to generate reports>
-#$JAVA_HOME -cp $GEMFIRE/lib/gemfire.jar:$JTESTS -Xmx750m -Dmode=raw -DomitFailedTests=true -DcompareByKey=true -DJTESTS=$JTESTS -Dgemfire.home=$GEMFIRE -DaddTestKey=true perffmwk.PerfComparer latest

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/setCLITrust.bat
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/setCLITrust.bat b/src/tests/cpp/scripts/setCLITrust.bat
deleted file mode 100644
index efb1626..0000000
--- a/src/tests/cpp/scripts/setCLITrust.bat
+++ /dev/null
@@ -1 +0,0 @@
-cmd /C C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/caspol.exe -pp off -machine -addgroup All_Code -strong -hex 0024000004800000940000000602000000240000525341310004000001000100A5D9964C8F72095125A80E28E0C05B6612EB937BD0443DF3AA111BD8070537B53C75F81735236272023434937F4396DF06CF210F5E93C14781CFF663834BC30DF0FB43311364B8EBE78FD5938D68CA4C5205B28FFF5EAABD16BCC67D0CA0BF3350473DA7BE6B32BF442C677DC93CA301B80C69EC8FFA8D02B2049D7A151B78D1 -noname -noversion FullTrust -name GemFire_Framework -description "GemFire Framework clients"

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/setupJavaClients.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/setupJavaClients.sh b/src/tests/cpp/scripts/setupJavaClients.sh
deleted file mode 100644
index 96a5e3e..0000000
--- a/src/tests/cpp/scripts/setupJavaClients.sh
+++ /dev/null
@@ -1,150 +0,0 @@
-#!/bin/bash
-
-#The objective of this script is to create following files:
-#startJC --- the script to run mixed mode java client
-#killJC --- housekeeping script in case the java client is still running
-#gemfire.properties
-
-## This script allows an optional -t {tag_label} argument, to allow separation between different sets of clients.
-## It also allows an optional count of clients to be specified, -c count  with the default being 1.
-## These arguments, if used, must be before any other arguments.
-## For example, if  "-t JC1" is provided, the script expects to find endpoints 
-## using the name EndPoints_JC1, so tasks that need access to endpoints need the data value
-## defined. <data name="TAG">JC1</data>
-## The default tag is blank.
-tag=""
-numClients=1
-while getopts ":t:c:" op
-do
-  case $op in
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numClients="$OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-
-## This script requires as an argument, the xml file to use for the cache.xml for clients
-## The script will replace 999999999 with the proper port number to use.
-
-GFE_XML=$1
-
-## This script expects the environment to have the following variables set:
-## GFE_DIR -- location of the GFE Java build
-
-# Where are we now?
-currDir=`pwd`
-
-# cnt specified which client to setup:
-cnt=$numClients
-
-EPBB=GFE_BB
-EPLABEL=EndPoints${tag:+_}$tag
-
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-# GFE Build location
-gfeProd=${GFE_DIR:-""}
-
-export gfe_name=GFE_DIR_$myOS
-export heap_name=GFE_HEAPSIZE_$myOS
-export lru_name=GFE_LRU_MEM_$myOS
-
-# now some os specific overrides of defaults
-if [ $myOS == "CYG" ]
-then
-  maxHeap=1280
-  heap_lru=1024
-else
-  maxHeap=2048
-  heap_lru=1536
-fi
-
-# and if os specific values have been passed in, they win
-if [ ${!gfe_name:-none} != "none" ]
-then
-  gfeProd=${!gfe_name}
-fi
-if [ ${!heap_name:-none} != "none" ]
-then
-  maxHeap=${!heap_name}
-fi
-if [ ${!lru_name:-none} != "none" ]
-then
-  heap_lru=${!lru_name}
-fi
-
-# cache.xml to use
-cacheXml=$BUILDDIR/framework/xml/${GFE_XML:-NO_CACHE_XML_SPECIFIED}
-
-# Base for dir names
-gfdb=GFEJC${tag:+_}$tag
-
-currEPs=`FwkBB get $EPBB $EPLABEL`
-if [ $? -eq 0 ]; then
-  endPoints="`echo $currEPs | awk '{print \$1}'`"
-else
-  echo "No endpoints are known."
-    exit $?
-fi
-
-  tdir=${gfdb}_$cnt
-  if [ -d $tdir ]
-  then
-    echo Skipping as work seems to have been done.
-    break
-  fi
-
-  # Build temp dirs for them to call home
-  mkdir $tdir
-
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-thisDir=`basename $PWD`
-mkdir -p ../pids/$GF_FQDN/$thisDir
-  
-# Create gemfire.properties
-##  echo "mcast-address=224.0.0.250" > $tdir/gemfire.properties
-##  echo "mcast-port=5757" >> $tdir/gemfire.properties
-  echo "locators=" > $tdir/gemfire.properties
-  echo "license-file=gemfireLicense.zip" >> $tdir/gemfire.properties
-  echo "license-type=evaluation" >> $tdir/gemfire.properties
-  echo "statistic-sampling-enabled=true" >> $tdir/gemfire.properties
-  echo "statistic-archive-file=statArchive.gfs" >> $tdir/gemfire.properties
-  echo "log-level=config" >> $tdir/gemfire.properties
-  echo "log-file=system.log" >> $tdir/gemfire.properties
-  
-  # Create bridge_client.xml files for them to call their own
-  sed 's/\$ENDPOINT/'$endPoints'/;s/\$LRU_MEM/'$heap_lru'/' $cacheXml > $tdir/bridge_client.xml
-
-  # create a JC${tag:+_}$tag${cnt:+_}$cnt.cmd
-  echo "status" > $currDir/JC${tag:+_}$tag${cnt:+_}$cnt.cmd
-
-  echo "TD=\"$currDir/$tdir\"" > $currDir/$tdir/ssk.env
-  echo "PD=\"$gfeProd\"" >> $currDir/$tdir/ssk.env
-  echo "JA=\"-Xmx${maxHeap}m -Xms256m\"" >> $currDir/$tdir/ssk.env
-  
-  # create script to start it
-  echo "#!/bin/bash" > $tdir/startJC
-  echo "##set -x" >> $tdir/startJC
-  echo "source ssk.env" >> $tdir/startJC
-  echo "cd \$PD" >> $tdir/startJC
-  echo "source bin/setenv.sh" >> $tdir/startJC
-  echo "cd \$TD" >> $tdir/startJC
-  echo "export PATH=$gfeProd/jre/bin:$PATH " >> $tdir/startJC
-  echo "export CLASSPATH=$BUILDDIR/framework/lib/mixed.jar:$gfeProd/lib/gemfire.jar:$gfeProd/lib/antlr.jar:\$CLASSPATH " >> $tdir/startJC
-if [ $myOS == "CYG" ]
-then
-  echo "CLASSPATH=\`cygpath -p -w \$CLASSPATH\`" >> $tdir/startJC
-fi
-  echo "java \$JA javaclient.CacheRunner bridge_client.xml -batch file=../JC${tag:+_}$tag${cnt:+_}$cnt.cmd > JC${tag:+_}$tag${cnt:+_}$cnt.log &" >> $tdir/startJC
-  echo "echo \$! > ../../pids/$GF_FQDN/$thisDir/JC${tag:+_}$tag${cnt:+_}$cnt_pid " >> $tdir/startJC
-  echo "exit 0" >> $tdir/startJC
-
-  chmod guo+rwx $tdir/startJC
-

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/setupJavaServers.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/setupJavaServers.sh b/src/tests/cpp/scripts/setupJavaServers.sh
deleted file mode 100644
index dd3d235..0000000
--- a/src/tests/cpp/scripts/setupJavaServers.sh
+++ /dev/null
@@ -1,245 +0,0 @@
-#!/bin/bash
-
-#set -x 
-
-## This script allows an optional -t {tag_label} argument, to allow separation between different sets of servers.
-## It also allows an optional count of servers to be specified, -c count  with the default being 1.
-## These arguments, if used, must be before any other arguments.
-## For example, if  "-t CS1" is provided, the script will store endpoints using 
-## the name EndPoints_CS1, so tasks that need access to endpoints need the data value
-## defined. <data name="TAG">CS1</data>
-## The default tag is blank.
-scriptname=`basename $0`
-tag=""
-numServers=1
-while getopts ":t:c:p:e:N:" op
-do
-  case $op in
-   ( "e" ) ((scnt++)) ; ev="export $OPTARG" ;;
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numServers="$OPTARG" ;;
-   ( "p" ) ((scnt++)) ; passthru="$passthru $OPTARG" ;;
-   ( "N" ) ((scnt++)) ; cmdargs="$cmdargs $OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-
-## This script requires as an argument, the xml file to use for the cache.xml for servers
-## The script will replace "$PORT_NUM" with the proper port number to use.
-## The script will replace "$LRU_MEM" with the proper amount of memory to use for heap lru.
-
-GFE_XML=$1
-
-## This script may expect the environment to have the following variables set:
-
-## GFE_DIR -- location of the GFE Java build, REQUIRED
-## GFE_DIR_CYG -- allows setting a cygwin specific value
-## GFE_DIR_LIN -- allows setting a linux specific value
-## GFE_DIR_SOL -- allows setting a solaris specific value
-
-## GFE_HEAPSIZE -- max size in meg the cacheserver should be allowed, for example 2048
-## GFE_HEAPSIZE_CYG -- allows setting a cygwin specific value
-## GFE_HEAPSIZE_LIN -- allows setting a linux specific value
-## GFE_HEAPSIZE_SOL -- allows setting a solaris specific value
-
-## GFE_LRU_MEM -- the heap lru size limit in meg, for example 1024
-## GFE_LRU_MEM_CYG -- allows setting a cygwin specific value
-## GFE_LRU_MEM_LIN -- allows setting a linux specific value
-## GFE_LRU_MEM_SOL -- allows setting a solaris specific value
-
-random() {
-  if [ ${randval:--1} -eq -1 ] # First time we have called this function
-  then  # So we seed the sequence 
-    # the pipe to bc is required because date will sometimes return a number 
-    # with a leading 0, but is not a valid octal number
-    ((RANDOM=( ( `date +'%S' | bc` + 1 ) * $$ ) + `date +'%j' | bc` ))
-  fi
-  min=$1
-  max=$2
-  val=$3
-  ## $RANDOM will be between 0 and 32767 inclusive
-  ##randval=`echo "( ( $RANDOM * ( $max - $min ) ) / 32767 ) + $min" | bc`
-  ((randval=( ( $RANDOM * ( $max - $min + 1 ) ) / ( 32767 + 1 ) ) + $min ))
-  export $val=$randval
-}
-
-# Where are we now?
-currDir=`pwd`
-
-### Has the mcast properties been set yet?
-### use BB instead of file for retaining and sharing mcast properties
-MCLABEL=`basename $currDir`
-DEF0=`FwkBB get $MCLABEL MCADDR`
-if [ ${DEF0:-none} == "none" ]
-then
-  random 1 254 madd
-  random 2431 31123 mport
-  DEF0="mcast-address=224.10.11.$madd"
-  DEF2="mcast-port=$mport"
-  FwkBB set $MCLABEL MCADDR "$DEF0"
-  FwkBB set $MCLABEL MCPORT "$DEF2"
-else
-  DEF2=`FwkBB get $MCLABEL MCPORT`
-fi
-
-# Number of servers to setup:
-cnt=$numServers
-
-# Base to use for port numbers
-random 21321 29789 basePort
-
-# cache.xml to use
-cacheXml=$BUILDDIR/framework/xml/${GFE_XML:-NO_CACHE_XML_SPECIFIED}
-if type -p cygpath >/dev/null 2>/dev/null; then
-  cacheXml="`cygpath -p -u "$cacheXml"`"
-fi
-
-# Base for dir names
-gfdb=GFECS${tag:+_}$tag
-
-AWK=`which nawk 2>/dev/null`
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-local=`hostname`
-GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-MCLABEL=`basename $currDir`
-export GFEBB=GFE_BB
-export LOCCNT=LOC_CNT
-FwkBB set $MCLABEL PROV_HOST "$GF_FQDN"
-FwkBB set $MCLABEL PROV_DIR "$currDir"
-if [ "${POOLOPT:-none}" != "none" ]
-then
- if [ "$POOLOPT" == "poolwithendpoints" ]
- then
-   FwkBB set GFE_BB testScheme "poolwithendpoints"
- elif [ "$POOLOPT" == "poolwithlocator" ]
- then
-   FwkBB set GFE_BB testScheme "poolwithlocator"
- fi
- if [ "$TESTSTICKY" == "ON" ]
- then
-   FwkBB set GFE_BB teststicky "ON"
- fi
-fi
-                                  
-
-if [ "${passthru:-NONE}" != "NONE" ]
-then
-  DEF3="$passthru"
-else
-  DEF3=" "
-fi
-  
-GEMFIRE=""
-# setup GF_JAVA
-case $myOS in
-  ( "SUN" ) myBits=64 ;;
-  ( * )
-   if [ $HOSTTYPE != `basename $HOSTTYPE 64` ]
-    then
-      myBits=64
-    else
-      myBits=32
-    fi
-  ;;
-  esac
-  sscript=`basename $scriptname 64`
-  if [ $scriptname != $sscript ]
-  then
-    myBits=64
-    noJava="NO_64_BIT_JAVA_INSTALL_SPECIFIED"
-  else
-    noJava=""
-  fi
-  var_name=GF_JAVA_${myOS}_${myBits}
-  if [ $myBits -eq 64 ]
-  then
-    export GF_JAVA=${!var_name:-${noJava:-""}}
-  else
-    export GF_JAVA=${!var_name:-""}
-  fi
-
- if [ $myOS == "CYG" ]
- then
-   GEMFIRE="gemfire.bat"   
- else
-   GEMFIRE="gemfire"
- fi
- 
-# GFE Build location
-export gfeProd=${GFE_DIR:-""}
-
-export gfe_name=GFE_DIR_$myOS
-# and if os specific values have been passed in, they win
-if [ ${!gfe_name:-none} != "none" ]
-then
-  gfeProd=${!gfe_name}
-fi
-SECURITY_JAR=${gfeProd}/lib/gfSecurityImpl.jar
-DEF1=`FwkBB get $MCLABEL LOCPORT`
-if [ ${DEF1:-none} == "none" ]
-then
-  random 31124 54343 locPort
-  bbcntr=`FwkBB inc $GFEBB $LOCCNT`
-  FwkBB set $MCLABEL LOCPORT "locators=${GF_FQDN}:${locPort}"
-  FwkBB set $GFEBB LOCPORTS_$bbcntr "${GF_FQDN}:${locPort}"
-  # Start the gemfire locator
-  cd "${gfeProd}"
-  source bin/setenv.sh
-  cd "${currDir}"
-  echo "Starting locator in directory ${currDir}: ${gfeProd}/bin/gemfire start-locator -port=${locPort} -dir=. $cmdargs"
-  "${gfeProd}/bin/${GEMFIRE}" start-locator -port=${locPort} -dir=. $cmdargs
-  # Record the PID for stopAll
-  locatorPID="`grep "Process ID:" locator.log | ${AWK:-awk} '{print $3}'`"
-  locatorPIDDir="${currDir}/../pids/${GF_FQDN}/`basename "${currDir}"`"
-  singleLocPid="`echo $locatorPID | awk '{print $1;}'`"
-  mkdir -p "${locatorPIDDir}"
-  echo "${singleLocPid}" > "${locatorPIDDir}/999999_pid"
-fi
-while [ ${cnt:-0} -gt 0 ]
-do
-  tdir=${gfdb}_$cnt
-  if [ -d $tdir ]
-  then
-    echo $tdir directory exist, Skipping as work seems to have been done for this directory.
-    nextcnt=`expr $cnt + 1`
-    tdir=${gfdb}_$nextcnt
-    #break
-  fi
-
-  # Build temp dirs for them to call home
-  mkdir -p $tdir/system
-  if [ -f $currDir/gfcpp.gfe.properties ]
-  then
-    cat $currDir/gfcpp.gfe.properties >> $currDir/$tdir/gemfire.properties
-  fi
-  
-  # Create cache.xml files for them to call their own
-  ((pnum=$basePort+$cnt))
-  echo "export cacheXml=\"$cacheXml\"" >> $currDir/$tdir/ssk.env
-  echo "export GFE_PORT=\"$pnum\"" >> $currDir/$tdir/ssk.env
-  if [ "${ev:-none}" != "none" ]
-  then
-    if [ -z "${CYGWIN}" ]; then
-      echo "${ev:-}:${SECURITY_JAR}" >> $currDir/$tdir/ssk.env
-    else
-      echo "export CLASSPATH=\"$BUILDDIR/framework/lib/javaobject.jar;$CLASSPATH;${SECURITY_JAR}\"" >> $currDir/$tdir/ssk.env
-    fi
-  else  
-    if [ -z "${CYGWIN}" ]; then
-      echo "export CLASSPATH=${CLASSPATH}:${SECURITY_JAR}" >> $currDir/$tdir/ssk.env
-    else
-      echo "export CLASSPATH=${CLASSPATH};${SECURITY_JAR}" >> $currDir/$tdir/ssk.env
-    fi 
-  fi  
-  echo "export DEF3=\"$DEF3\"" >> $currDir/$tdir/ssk.env
-  
-  ((cnt--))
-done

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/startCSFwk.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/startCSFwk.sh b/src/tests/cpp/scripts/startCSFwk.sh
deleted file mode 100755
index 1809e7c..0000000
--- a/src/tests/cpp/scripts/startCSFwk.sh
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/sh
-
-
-getPath()
-{
-  if uname | grep '^CYGWIN' >/dev/null 2>/dev/null; then
-    cygpath "$1"
-  else
-    echo "$1"
-  fi
-}
-
-getRealPath()
-{
-  if uname | grep '^CYGWIN' >/dev/null 2>/dev/null; then
-    cygpath -w "$1" | sed 's/[\\\/]*$//'
-  else
-    realpath "$1" | sed 's/[\\\/]*$//'
-  fi
-}
-
-
-# Initialization
-
-scriptLocation="`getPath "$0"`"
-scriptDir="`dirname "${scriptLocation}"`"
-scriptName="`basename "${scriptLocation}"`"
-csharpDir="${scriptDir}/../csharp/bin"
-
-CSBBDIR="${csharpDir}"
-export CSBBDIR
-
-if [ -r "${csharpDir}/runCSFunctions.sh" ]; then
-  source "${csharpDir}/runCSFunctions.sh"
-else
-  echo "Could not read the runCSFunctions.sh script."
-  exit 1
-fi
-
-
-EPBB=GFE_BB
-EPCNT=EP_COUNT
-EPDONE=EP_DONE
-EPLABEL=EndPoints
-
-
-if [ -r "gfcppcsharp.env" ]; then
-  source "gfcppcsharp.env"
-else
-  echo "Could not read the gfcppcsharp.env for environment variables."
-  exit 1
-fi
-
-# Create the extra environment variables
-extraVars="GF_BBADDR"
-
-currDir="`pwd`"
-if [ -z "${BASEDIR}" ]; then
-  baseDir="${currDir}/.."
-else
-  baseDir="${BASEDIR}"
-fi
-if [ -z "${BUILDDIR}" ]; then
-  buildDir="${baseDir}/build_CYG"
-else
-  buildDir="${BUILDDIR}"
-fi
-GFBASE="`getRealPath "${baseDir}"`"
-GFXMLBASE="`getRealPath "${buildDir}/framework/xml"`"
-FWK_WINLOGDIR="`getRealPath "${currDir}/csharp"`"
-
-echo "GFBASE=${GFBASE}" > run.env.extra
-echo "GFXMLBASE=${GFXMLBASE}" >> run.env.extra
-echo "GFCPP=`getRealPath "${buildDir}/product"`" >> run.env.extra
-echo "PATH+=`getRealPath "${buildDir}/framework/scripts"`;`getRealPath "${buildDir}/framework/bin"`;`getRealPath "${buildDir}/framework/lib"`;`getRealPath "${buildDir}/hidden/lib"`;`getRealPath "${buildDir}/hidden/gpl"`" >> run.env.extra
-echo "FWK_WINLOGDIR=${FWK_WINLOGDIR}" >> run.env.extra
-for var in ${extraVars}; do
-  varVal="`eval echo \\${${var}}`"
-  if [ -n "${varVal}" ]; then
-    echo "${var}=${varVal}" >> run.env.extra
-  fi
-done
-mkdir -p "${currDir}/csharp"
-
-
-driverPort="`getOpenPort`"
-
-CSFWK_DRIVERADDR="`getIPAddress`:${driverPort}"
-export CSFWK_DRIVERADDR
-echo "CSFWK_DRIVERADDR=\"${CSFWK_DRIVERADDR}\"" >> gfcppcsharp.env
-echo "export CSFWK_DRIVERADDR" >> gfcppcsharp.env
-
-cat gfcppcsharp.env > "${baseDir}/../gfcppcsharp.env"
-
-epCnt="`FwkBB getInt ${EPBB} ${EPCNT}`"
-[ -z "${epCnt}" ] && echo "Could not get the endpoint count." && exit 1
-
-epIndex=1
-endPts=
-while [ ${epIndex} -le ${epCnt} ]; do
-  endPt="`FwkBB get ${EPBB} "${EPLABEL}_${epIndex}"`"
-  if [ -z "${endPts}" ]; then
-    endPts="${endPt}"
-  else
-    endPts="${endPts},${endPt}"
-  fi
-  epIndex="`expr ${epIndex} + 1`"
-done
-
-GFE_DIR="${endPts}"
-export GFE_DIR
-
-hostLine=
-if [ "`echo ../hosts/*`" != "../hosts/*" ]; then
-  for groupPath in ../hosts/*; do
-    groupName="`basename "${groupPath}"`"
-    if [ "${groupName}" = "DEFAULT" ]; then
-      defaultHosts="`cat "${groupPath}"`"
-    else
-      hostLine="${hostLine} `cat "${groupPath}" | sed "s/^/${groupName}:/"`"
-    fi
-  done
-  hostLine="${hostLine} ${defaultHosts}"
-else
-  hostLine="${UHOSTS}"
-fi
-
-"${csharpDir}/FwkDriver.exe" "--bbServer=${CSFWK_BBADDR}" --bbPasswd --skip-report "--driverPort=${driverPort}" "$@" ${hostLine}

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/startClient.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/startClient.sh b/src/tests/cpp/scripts/startClient.sh
deleted file mode 100644
index f670570..0000000
--- a/src/tests/cpp/scripts/startClient.sh
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-source genericFunctions
-
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-export GF_IPADDR=`nslookup $local 2>/dev/null | ${AWK:-awk} '{if ($1 ~ /Address:/) ip=$2}END{print ip}'`
-
-suff=`date +'%m.%d.%H.%M.%S'`
-cnum=$1
-shift
-xmlfile=$1
-shift
-logDir=$1
-shift
-port=$1
-shift
-
-program=${1:-none}
-if [ $program != 'none' ]
-then
-  shift
-  arguments="$@"
-fi
-
-((bbport=$port+4))
-export GF_BBADDR=${driverHost}:$bbport
-echo "export GF_BBADDR=${driverHost}:$bbport" >> $logDir/gfcpp.env
-
-vcmd=
-valLoc=$VALGRIND_INSTALL/$HOSTTYPE
-argCount $toolClients
-if [ $RETVAL -gt 0 ]
-then
-  contains $cnum $toolClients
-else
-  RETVAL=1  ## If no clients are specified, all clients are assumed
-fi
-
-if [ -d $valLoc -a $RETVAL == 1 ]  ## Use valgrind on Client
-then
-  PATH=$valLoc/bin:$PATH
-  LD_LIBRARY_PATH=$valLoc/lib:$LD_LIBRARY_PATH
-  vcmd="$VALCMD"
-fi
-
-cd $logDir
-LOG=Client_${cnum}_$suff.log
-ulimit -a &> $LOG
-echo "  " >> $LOG 2>&1
-uname -a >> $LOG
-
-if [ $program != 'none' ]
-then
-  $program ${arguments:- } >> $LOG 2>&1 &
-else
-  $vcmd Client $cnum $xmlfile ${driverHost}:$port ${driverHost}:$bbport $ne >> $LOG 2>&1 &
-fi
-myPid=$!
-
-thisDir=`basename $PWD`
-mkdir -p ../pids/$GF_FQDN/$thisDir
-echo $myPid > ../pids/$GF_FQDN/$thisDir/${cnum}_pid
-
-

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/startJavaClients.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/startJavaClients.sh b/src/tests/cpp/scripts/startJavaClients.sh
deleted file mode 100644
index 957ab3a..0000000
--- a/src/tests/cpp/scripts/startJavaClients.sh
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/bash
- 
-## This script allows an optional -t {tag_label} argument, to allow separation between different sets of clients.
-## It also allows an optional count of clients to be specified, -c count  with the default being 1.
-## These arguments, if used, must be before any other arguments.
-## For example, if  "-t JC1" is provided, the script expects to find endpoints 
-## using the name EndPoints_JC1, so tasks that need access to endpoints need the data value
-## defined. <data name="TAG">JC1</data>
-## The default tag is blank.
-tag=""
-numClients=1
-while getopts ":t:c:" op
-do
-  case $op in
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numClients="$OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-
-## This script expects one argument, the "number" of the client to start
-## If no argument is given all clients will be started.
-
-## This script expects the environment to have the following variables set:
-## GFE_COUNT -- the number of clients to use, default is one.
-## GFE_DIR -- location of the GFE Java build
-
-# Where are we now?
-currDir=`pwd`
-
-# Server to start:
-server=$1
-
-# GFE Build location
-gfeProd=${GFE_DIR:-""}
-
-# Base for dir names
-gfdb=GFEJC${tag:+_}$tag
-
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-if [ ${server:-0} -gt 0 ]
-then
-  tdir=${gfdb}_$server
-  if [ -d $tdir ]
-  then
-    cd $tdir
-    ./startJC
-    sleep 10
-    pid=`grep "Process ID:" system.log | ${AWK:-awk} '{print $3}'`
-    cd $currDir
-    thisDir=`basename $currDir`
-    mkdir -p ../pids/$GF_FQDN/$thisDir
-    echo "$pid" > ../pids/$GF_FQDN/$thisDir/JavaClient_pid
-  fi
-  exit
-fi
-
-# cnt specified which client to setup:
-cnt=$numClients
-
-  tdir=${gfdb}_$cnt
-  if [ -d $tdir ]
-  then
-    cd $tdir
-    ./startJC
-    cd $currDir
-  fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/startJavaServers.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/startJavaServers.sh b/src/tests/cpp/scripts/startJavaServers.sh
deleted file mode 100644
index f519144..0000000
--- a/src/tests/cpp/scripts/startJavaServers.sh
+++ /dev/null
@@ -1,218 +0,0 @@
-#!/bin/bash
-
-#set -x
-
-scriptname=`basename $0`
-
-startServer() {
-  cnt=$1
-  extraargs=$2
-  tdir=${gfdb}_$cnt
-  if [ ! -d $tdir ]
-  then
-    mkdir -p $tdir
-    rsync -rLqe "ssh -A -x -q -o StrictHostKeyChecking=no " ${PROV_HOST}:${PROV_DIR}/$tdir/ $tdir
-  fi
-  if [ -d $tdir ]
-  then
-    cd $tdir
-    export TD=$PWD
-    echo "export TD=$TD" >> ssk.env
-    echo "export PD=$PD" >> ssk.env
-    if [ ${CLASSPATH:-none} != "none" ]
-    then
-      echo "export CLASSPATH=$CLASSPATH:\$CLASSPATH" >> ssk.env
-    fi
-    echo "export CS_HOST=\"$GF_FQDN\"" >> ssk.env
-    source ssk.env
-    rsync -rLqe "ssh -A -x -q -o StrictHostKeyChecking=no " ${PROV_HOST}:${cacheXml} before.xml
-    sed 's/\$PORT_NUM/'$GFE_PORT'/;s/\$LRU_MEM/'$heap_lru'/' before.xml > cache.xml
-    bbcntr=`FwkBB get $EPBB $tdir`
-    if [ ${bbcntr:-NONE} == "NONE" ]
-    then
-      bbcntr=`FwkBB inc $EPBB $EPCNT`
-      FwkBB set $EPBB $tdir $bbcntr
-    fi
-    FwkBB set $EPBB ${EPLABEL}_$bbcntr "${GF_FQDN}:$GFE_PORT"
-    cd $PD
-    source bin/setenv.sh
-    cd $TD
-      echo $PD/bin/${CACHESERVER} start cache-xml-file=cache.xml statistic-sampling-enabled=true statistic-archive-file=statArchive.gfs -J-DCacheClientProxy.MESSAGE_QUEUE_SIZE=500000 -dir=. $DEF4 mcast-port=0 $extraargs $DEF3 $JA
-      $PD/bin/${CACHESERVER} start cache-xml-file=cache.xml statistic-sampling-enabled=true statistic-archive-file=statArchive.gfs -J-DCacheClientProxy.MESSAGE_QUEUE_SIZE=500000 -dir=. $DEF4 mcast-port=0 $extraargs $DEF3 $JA
-    cd $currDir
-  else
-    echo "ERROR: directory $tdir not found."
-  fi
-}
-
-## This script allows an optional -t {tag_label} argument, to allow separation between different sets of servers.
-## It also allows an optional count of servers to be specified, -c count  with the default being 1.
-## These arguments, if used, must be before any other arguments.
-## For example, if  "-t CS1" is provided, the script will store endpoints using
-## the name EndPoints_CS1, so tasks that need access to endpoints need the data value
-## defined. <data name="TAG">CS1</data>
-## The default tag is blank.
-tag=""
-numServers=1
-minMemory=0
-maxMemory=0
-cmdargs=""
-while getopts ":t:c:M:X:N:" op
-do
-  case $op in
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numServers="$OPTARG" ;;
-   ( "M" ) ((scnt++)) ; minMemory="$OPTARG" ;;
-   ( "X" ) ((scnt++)) ; maxMemory="$OPTARG" ;;
-   ( "N" ) ((scnt++)) ; cmdargs="$cmdargs $OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-## This script expects one argument, the "number" of the server to start
-## If no argument is given all servers will be started.
-
-## This script expects the environment to have the following variables set:
-## GFE_COUNT -- the number of servers to use, default is one.
-## GFE_DIR -- location of the GFE Java build
-
-AWK=`which nawk 2>/dev/null`
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-local=`hostname`
-CACHESERVER=""
-GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-case $myOS in
-  ( "SUN" ) myBits=64 ;;
-  ( * )
-    if [ $HOSTTYPE != `basename $HOSTTYPE 64` ]
-    then
-      myBits=64
-    else
-      myBits=32
-    fi
-  ;;
-esac
-
-sscript=`basename $scriptname 64`
-if [ $scriptname != $sscript ]
-then
-  myBits=64
-  noJava="NO_64_BIT_JAVA_INSTALL_SPECIFIED"
-else
-  noJava=""
-fi
-
-# Where are we now?
-export currDir=`pwd`
-
-export MCLABEL=`basename $currDir`
-export PROV_HOST=`FwkBB get $MCLABEL PROV_HOST`
-export PROV_DIR=`FwkBB get $MCLABEL PROV_DIR`
-export DEF0=`FwkBB get $MCLABEL MCADDR`
-export DEF2=`FwkBB get $MCLABEL MCPORT`
-export DEF4=`FwkBB get $MCLABEL LOCPORT`
-
-# setup GF_JAVA
-var_name=GF_JAVA_${myOS}_${myBits}
-if [ $myBits -eq 64 ]
-then
-  export GF_JAVA=${!var_name:-${noJava:-""}}
-else
-  export GF_JAVA=${!var_name:-""}
-fi
-
-# Server to start:
-server=$1
-
-# Base for dir names
-gfdb=GFECS${tag:+_}$tag
-
-# first some defaults values
-export maxHeap=${GFE_HEAPSIZE:-""} # Default if it exists
-export minHeap=${GFE_MINHEAPSIZE:-""} # Default if it exists
-export heap_lru=${GFE_LRU_MEM:-""} # Default if it exists
-
-# GFE Build location
-export gfeProd=${GFE_DIR:-""}
-
-# JavaObject and Antlr jar class Path
-export CLASSPATH=${GFE_CLASS_PATH:-""}
-
-export gfe_name=GFE_DIR_$myOS
-export heap_name=GFE_HEAPSIZE_$myOS
-export minheap_name=GFE_MINHEAPSIZE_$myOS
-export lru_name=GFE_LRU_MEM_$myOS
-export class_path=GFE_CLASS_PATH_$myOS
-
-# now some os specific overrides of defaults
-if [ $myOS == "CYG" ]
-then
-  maxHeap=1280
-  heap_lru=1024
-  dumpHeapOOM=" "
-  CACHESERVER="cacheserver.bat"
-else
-  maxHeap=2048
-  heap_lru=1536
-  dumpHeapOOM="-J-XX:+HeapDumpOnOutOfMemoryError"
-  CACHESERVER="cacheserver"
-fi
-minHeap=512
-# and if os specific values have been passed in, they win
-if [ ${!gfe_name:-none} != "none" ]
-then
-  gfeProd=${!gfe_name}
-fi
-if [ ${!heap_name:-none} != "none" ]
-then
-  maxHeap=${!heap_name}
-fi
-if [ ${!minheap_name:-none} != "none" ]
-then
-  minHeap=${!minheap_name}
-fi
-if [ ${!lru_name:-none} != "none" ]
-then
-  heap_lru=${!lru_name}
-fi
-if [ ${!class_path:-none} != "none" ]
-then
-  CLASSPATH=${!class_path}:${JAVAOBJECT}
-fi
-if [ ${minMemory:-0} -gt 0 ]
-then
-   minHeap=${minMemory}
-fi
-if [ ${maxMemory:-0} -gt 0 ]
-then
-   maxHeap=${maxMemory}
-fi
-
-export JA="-J-Xmx${maxHeap}m -J-Xms${minHeap}m $dumpHeapOOM "
-#export JA="-J-Xmx600m -J-Xms600m $dumpHeapOOM "
-
-export EPBB=GFE_BB
-export EPCNT=EP_COUNT
-export EPLABEL=EndPoints${tag:+_}$tag
-
-export PD="$gfeProd"
-
-if [ ${server:-0} -gt 0 ]
-then
-  startServer $server "$cmdargs"
-else
-  # Number of servers to start:
-  cnt=$numServers
-  while [ ${cnt:-0} -gt 0 ]
-  do
-    startServer $cnt "$cmdargs"
-    ((cnt--))
-  done
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/stopAll.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/stopAll.sh b/src/tests/cpp/scripts/stopAll.sh
deleted file mode 100644
index 6a8a9b2..0000000
--- a/src/tests/cpp/scripts/stopAll.sh
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/bash
-
-source genericFunctions
-source runDriverFunctions
-
-##set -x
-host=${1:-all}
-shift
-dirn=${1:-""}
-
-if [ "$host" == "all" ]
-then
-  for hst in $UHOSTS
-  do
-    goHost $hst stopAll local $dirn
-  done
-  exit 0
-fi
-
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-
-if [ ${dirn:-none} == "none" ]
-then
-  PID_BASE="$BASEDIR/pids/$GF_FQDN"
-else
-  PID_BASE="$BASEDIR/pids/$GF_FQDN/`basename "$dirn"`"
-fi
-
-
-if [ ! -d $PID_BASE ]
-then
-  exit
-fi
-
-## for each dir under $PID_BASE, stop all procs whose pids are recorded
-findCmd="/usr/bin/find"
-for dnam in `$findCmd $PID_BASE -type d ! -name "." ! -name ".." -print`
-do
-  ## Stop Driver
-  pfil=$dnam/pid_Driver
-  if [ -f $pfil ]
-  then
-    id=`cat $pfil`
-    stopProcess $id -p
-    rm -f $pfil
-  fi
-
-  ## Stop Clients
-  for pfil in `$findCmd $dnam -type f -name "*_pid"`
-  do
-    id=`cat $pfil`
-    stopProcess $id -p
-    rm -f $pfil
-  done
-
-  random 1 5 seconds
-
-  sleep $seconds
-
-  if [ -d $dnam ]
-  then
-    ( rmdir $dnam > /dev/null 2>&1 || sleep 60 && rmdir $dnam > /dev/null 2>&1 ) &
-  fi
-done 
-
-cdir=$PWD
-for gdir in $BASEDIR/*/GFECS*
-do
-  if [ -d $gdir ]
-  then
-    cd $gdir
-    eval `grep CS_HOST ssk.env 2>/dev/null`
-    if [ $GF_FQDN == ${CS_HOST:-none} ]
-    then
-      stopCS > /dev/null 2>&1
-      mv ssk.env ssk.env.hide 2>/dev/null
-    fi
-    cd $cdir
-  fi
-done

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/stopCS.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/stopCS.sh b/src/tests/cpp/scripts/stopCS.sh
deleted file mode 100644
index 1de7d96..0000000
--- a/src/tests/cpp/scripts/stopCS.sh
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/bash
-
-source ssk.env
-cd $PD
-source bin/setenv.sh
-cd $TD
-scriptname=`basename $0`
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-if [ ! -f .cacheserver.ser ]
-then
-  exit
-fi
-
-case $myOS in
-  ( "SUN" ) myBits=64 ;;
-  ( * )
-   if [ $HOSTTYPE != `basename $HOSTTYPE 64` ]
-    then
-      myBits=64
-    else
-      myBits=32
-    fi
-  ;;
-  esac
-  sscript=`basename $scriptname 64`
-  if [ $scriptname != $sscript ]
-  then
-    myBits=64
-    noJava="NO_64_BIT_JAVA_INSTALL_SPECIFIED"
-  else
-    noJava=""
-  fi
-  var_name=GF_JAVA_${myOS}_${myBits}
-  if [ $myBits -eq 64 ]
-  then
-    export GF_JAVA=${!var_name:-${noJava:-""}}
-  else
-    export GF_JAVA=${!var_name:-""}
-  fi 
-
-if [ $myOS == "CYG" ]
-then
-  $PD/bin/cacheserver.bat stop -dir=.
-else
-  $PD/bin/cacheserver stop -dir=.
-fi
-stat=$?
-sleep 10
-
-if [ $stat -ne 0 ]
-then
-  AWK=`which nawk 2>/dev/null`
-
-  killCmd="kill"
-  if [ $myOS == "CYG" ]
-  then
-    killCmd="/bin/kill -f"
-  fi
-
-  cspid=`grep 'Process ID:' cacheserver.log | ${AWK:-awk} '{print $NF}'`
-
-  waitCnt=1
-  kill -0 $cspid 2>/dev/null
-  stillRunning=$?
-  while [ $stillRunning -eq 0 ] 
-  do
-    if [ $waitCnt -gt 4 ]
-    then
-      $killCmd -9 $cspid >/dev/null 2>&1
-      break
-    else
-      $killCmd $cspid >/dev/null 2>&1
-    fi
-    ((waitCnt++))
-    sleep 5
-    kill -0 $cspid 2>/dev/null
-    stillRunning=$?
-  done
-  rm -f .cacheserver.ser
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/stopCSFwk.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/stopCSFwk.sh b/src/tests/cpp/scripts/stopCSFwk.sh
deleted file mode 100755
index 40808c4..0000000
--- a/src/tests/cpp/scripts/stopCSFwk.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-
-getPath()
-{
-  if uname | grep '^CYGWIN' >/dev/null 2>/dev/null; then
-    cygpath "$1"
-  else
-    echo "$1"
-  fi
-}
-
-
-# Initialization
-
-scriptLocation="`getPath "$0"`"
-scriptDir="`dirname "${scriptLocation}"`"
-scriptName="`basename "${scriptLocation}"`"
-csharpDir="${scriptDir}/../csharp/bin"
-
-
-if [ -r "gfcppcsharp.env" ]; then
-  source "gfcppcsharp.env"
-else
-  echo "Could not read the gfcppcsharp.env for environment variables."
-  exit 1
-fi
-
-echo
-echo "Terminating the C# framework driver..."
-echo
-
-"${csharpDir}/FwkBBClient" termDriver
-exit 0

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/stopClient.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/stopClient.sh b/src/tests/cpp/scripts/stopClient.sh
deleted file mode 100644
index c3d030e..0000000
--- a/src/tests/cpp/scripts/stopClient.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-#set -x
-echo "start stopClient.sh"
-source genericFunctions
-source runDriverFunctions
-host=${1:-all}
-shift
-cnt=$*
-hostCnt=1
-
-if [ "$host" == "all" ]
-then
-for clnt in $cnt
-do
-  for hst in $UHOSTS
-  do
-     goHost $hst stopClient $hst $clnt
-  done
-done    
-exit 0
-fi
-
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-
-PID_BASE="$BASEDIR/pids/$GF_FQDN"
-if [ ! -d $PID_BASE ]
-then
-  exit
-fi
-findCmd="/usr/bin/find"
-for dnam in `$findCmd $PID_BASE -type d ! -name "." ! -name ".." -print`
-do
-  for pfil in `$findCmd $dnam -type f -name ${1}_pid`
-  do
-    id=`cat $pfil`
-    echo "about to stop process .. found $dnam $pfil for $hst $cnt"
-    stopProcess $id -p
-    rm -f $pfil
-    break
-  done
-done  
-echo "end stopClient.sh"

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/stopJavaServers.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/stopJavaServers.sh b/src/tests/cpp/scripts/stopJavaServers.sh
deleted file mode 100644
index 8af720f..0000000
--- a/src/tests/cpp/scripts/stopJavaServers.sh
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/bash
-
-## This script allows an optional -t {tag_label} argument, to allow separation between different sets of servers.
-## It also allows an optional count of servers to be specified, -c count  with the default being 1.
-## These arguments, if used, must be before any other arguments.
-## For example, if  "-t CS1" is provided, the script will store endpoints using 
-## the name EndPoints_CS1, so tasks that need access to endpoints need the data value
-## defined. <data name="TAG">CS1</data>
-## The default tag is blank.
-tag=""
-numServers=1
-while getopts ":t:c:" op
-do
-  case $op in
-   ( "t" ) ((scnt++)) ; tag="$OPTARG" ;;
-   ( "c" ) ((scnt++)) ; numServers="$OPTARG" ;;
-    ( * ) echo "Unknown argument provided: -$OPTARG, ignoring." ; echo "" ;;
-  esac
-  ((scnt++))
-done
-
-while [ ${scnt:-0} -gt 0 ]
-do
-  shift
-  ((scnt--))
-done
-
-## This script expects one argument, the "number" of the server to stop
-## If no argument is given all servers will be stopped.
-
-## This script expects the environment to have the following variables set:
-## GFE_COUNT -- the number of servers to use, default is one.
-## GFE_DIR -- location of the GFE Java build
-
-# Where are we now?
-currDir=`pwd`
-
-# Server to stop:
-server=$1
-
-# GFE Build location
-gfeProd=${GFE_DIR:-""}
-
-# Base for dir names
-gfdb=GFECS${tag:+_}$tag
-
-if [ ${server:-0} -gt 0 ]
-then
-  tdir=${gfdb}_$server
-  if [ -d $tdir ]
-  then
-    cd $tdir
-    stopCS
-    cd $currDir
-  fi
-  exit
-fi
-
-# Number of servers to stop:
-cnt=$numServers
-
-while [ ${cnt:-0} -gt 0 ]
-do
-  tdir=${gfdb}_$cnt
-  if [ -d $tdir ]
-  then
-    cd $tdir
-    stopCS
-    cd $currDir
-  fi
-  ((cnt--))
-done

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/stopProcess.sh
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/stopProcess.sh b/src/tests/cpp/scripts/stopProcess.sh
deleted file mode 100644
index 4f85aef..0000000
--- a/src/tests/cpp/scripts/stopProcess.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-export local=`hostname`
-export GF_FQDN=`nslookup $local 2>/dev/null | ${AWK:-awk} '/^Name:/{print $2}'`
-
-cnum=$1
-id=0
-if [ ${2:-x} == -p ]
-then
-  id=$1
-else
-  dirn="${2:-none}"
-  if [ "$dirn" == "none" ]
-  then
-    exit
-  fi
-  PID_BASE=$BASEDIR/pids/$GF_FQDN/$dirn
-  if [ -f $PID_BASE/${cnum}_pid ]
-  then
-    id=`cat $PID_BASE/${cnum}_pid`
-  else
-    if [ -f $PID_BASE/pid_$cnum ]
-    then
-      id=`cat $PID_BASE/pid_$cnum`
-    fi
-  fi
-fi
-
-if [ ${id:-0} -eq 0 ]
-then
-  exit
-fi
-
-myOS=`uname | tr "cyglinsu" "CYGLINSU" | cut -b1-3`
-killCmd="kill"
-if [ $myOS == "CYG" ]
-then
-  killCmd="/bin/kill -f"
-fi
-
-##ls /proc/${id}/status > /dev/null 2>&1
-##if [ $? -ne 0 ] ; then exit ; fi
-#if [ -d /proc/$id ] ; then $killCmd $id >/dev/null 2>&1 ; sleep 1 ; fi
-#if [ -d /proc/$id ] ; then $killCmd -9 $id >/dev/null 2>&1 ; fi
-if $killCmd -0 $id >/dev/null 2>&1; then
-  $killCmd $id >/dev/null 2>&1 && sleep 1 && $killCmd -9 $id >/dev/null 2>&1
-fi

http://git-wip-us.apache.org/repos/asf/geode/blob/03781bd1/src/tests/cpp/scripts/using_runCPPCSDriver
----------------------------------------------------------------------
diff --git a/src/tests/cpp/scripts/using_runCPPCSDriver b/src/tests/cpp/scripts/using_runCPPCSDriver
deleted file mode 100644
index 3f706d5..0000000
--- a/src/tests/cpp/scripts/using_runCPPCSDriver
+++ /dev/null
@@ -1,40 +0,0 @@
-This file contains the setup and usage instructions for running the C++ and C#
-mixed-mode tests using the runCPPCSDriver script.
-
-The script starts both the C++ and C# frameworks. See the setup instructions
-in using_runCSDriver file in this directory to setup the C# XML framework.
-
-The primary driver is the C++ framework that shall start the C# framework
-as a client and the two communicate/synchronize using the FwkBB program and
-waitForBBKey script. Each test shall require two XMLs -- one for the C++
-framework that shall start off the cacheservers and C# framework
-(and other clients as required) while the other shall be the one that
-C# framework shall use for starting C# clients. The convention is that
-the C# framework is started in "CSD" hostGroup and the runCPPCSDriver
-script automatically adds the local machine in the group. Please check
-the existing XMLs in MixedModeCS directory for more details.
-
-The runCPPCSDriver script start the C# black-board, asks user for password,
-writes those on the C# BB and then starts the runDriver script with all the
-options as provided (except for adding "CSD:<current host>" if CSD hostGroup
-is not given). Hence its arguments are identical to those of the runDriver
-script. Please see using_runDriver file in this directory for usage details
-of the runDriver script.
-
-The logs are created in the current directory as with runDriver.
-A sub-directory "csharp" is created inside the latest directory that contains
-the C# driver logs. The following files will be read from the current directory:
-
-  * gfcsharp.env: same as for C# driver; it is recommended that the user does
-                  not override GFCPP, GFBASE, GFXMLBASE and FWK_WINLOGDIR
-                  variables unless absolutely sure of the effect; these are
-                  setup by the runCPPCSDriver to work with the C++ runDriver
-                  and hence should not be altered.
-  * gfcpp.env: same as for C++ runDriver
-  * gfcpp.properties: same as for C++ runDriver
-  * gfcsharp.properties: if found this is used as gfcpp.properties for
-                         C# clients otherwise gfcpp.properties is used;
-                         the path to native license for C++ and C#
-                         frameworks is different and so this is recommended;
-                         for C# the path to native license should be like:
-                         ../../../build_CYG/hidden/...