summaryrefslogtreecommitdiffstats
path: root/sanity/system_light/run_nfs.sh
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-02-18 10:41:37 -0800
committerGerrit Code Review <root@dev.gluster.com>2012-02-18 10:41:37 -0800
commit58c7ab800444f2b80039d71509c5dc81a3598ead (patch)
tree4e23efa722b22b286842f4b45da1a8d5011f4a4c /sanity/system_light/run_nfs.sh
parent6ed4ac470d7aaddd05ce179bc304ef688f5553aa (diff)
parent9d36eca70a458c736e44fd8eb9184415ec45f1e6 (diff)
Merge "system_light: changes to have modularity in running tests"
Diffstat (limited to 'sanity/system_light/run_nfs.sh')
-rwxr-xr-xsanity/system_light/run_nfs.sh101
1 files changed, 0 insertions, 101 deletions
diff --git a/sanity/system_light/run_nfs.sh b/sanity/system_light/run_nfs.sh
deleted file mode 100755
index 94d8262..0000000
--- a/sanity/system_light/run_nfs.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-ulimit -c unlimited
-set +x
-SCRIPTS_PATH="/opt/qa/tools/system_light/scripts"
-CNT=0
-. /opt/qa/tools/system_light/config
-echo " Changing to the specified mountpoint"
-cd $THIS_TEST_DIR
-pwd
-
-echo " This script runs the tools and scriprts which are used to test the performance.The tests are run on ther glusterFS mountpoint.They are:
-1.dd
-2.dbench
-3.arequal
-4.posix_compliance
-5.kernel compile
-6.fsx
-7.ltp tests
-8.fileop
-9.bonnie
-10.iozone
-11.openssl build
-12.postmark
-13.ffsb
-14.Reading from large file
-15.Multiple file creation(100000)
-16.glusterfs build";
-
-sleep 1
-
-echo "Executing ffsb"
- set +x
- cp $BIN_PATH/system_light/profile_everything $THIS_TEST_DIR/profile_everything
- sed -i "s[/mnt/test1[$THIS_TEST_DIR[" profile_everything
- $SCRIPTS_PATH/ffsb_test.sh
-if [ $? -eq 0 ]; then
- CNT=$((CNT+1))
- echo $CNT
- echo "Removing data"
- rm -rfv data && echo "Removed"
- echo "Removing meta"
- rm -rfv meta && echo "Removed"
- echo "Removing profile_everything"
- rm $FFSB_FILE && echo "Removed"
-else
- echo "ffsb failed"
- echo $CNT
-fi
-
-echo "Executing ltp tests"
- set +x
- mkdir ltp
- cd ltp
- $SCRIPTS_PATH/ltp_test.sh
-if [ $? -eq 0 ]; then
- CNT=$((CNT+1))
- echo $CNT
- echo "Removing directory"
- cd -
- rm -rfv ltp && echo "removed"
-else
- echo "ltp failed"
- echo $CNT
-fi
-
-echo "Executing fileop"
- set +x
- $SCRIPTS_PATH/fileop_test.sh
-if [ $? -eq 0 ]; then
- CNT=$((CNT+1))
- echo $CNT
-else
- echo "fileop failed"
- echo $CNT
-fi
-
-echo "Kernel compiling" #Untars the given kernel file and compiles it
- set +x
- $SCRIPTS_PATH/kernel.sh
-if [ $? -eq 0 ]; then
- CNT=$((CNT+1))
- echo $CNT
- echo "Removing linux-$VERSION.tar.bz2 and linux-$VERSION"
- rm -r linux-$VERSION* && echo "removed"
-else
- echo "kernel compile failed"
- echo $CNT
-fi
-
-echo "Executing bonnie++"
- set +x
- $SCRIPTS_PATH/bonnie_test.sh
-if [ $? -eq 0 ]; then
- CNT=$((CNT+1))
- echo $CNT
-else
- echo "bonnie failed"
- echo $CNT
-fi
-