summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2011-03-15 15:41:54 -0400
committerSteve Dickson <steved@redhat.com>2011-03-15 15:41:54 -0400
commit292e8729845d8f4a00071564322f58a76aefc04f (patch)
tree4ef5dd9e433cd7d69f98ed733d651fdf38040904
parent60dc3a51c822ae5a0434ce405439e5663be3124d (diff)
downloadcthon04-292e8729845d8f4a00071564322f58a76aefc04f.tar.gz
cthon04-292e8729845d8f4a00071564322f58a76aefc04f.tar.xz
cthon04-292e8729845d8f4a00071564322f58a76aefc04f.zip
Added the '--nolcks' flag
Signed-off-by: Steve Dickson <steved@redhat.com>
-rwxr-xr-xruncthon10
1 files changed, 8 insertions, 2 deletions
diff --git a/runcthon b/runcthon
index 517ab7f..ed0d227 100755
--- a/runcthon
+++ b/runcthon
@@ -113,8 +113,9 @@ mkdirs()
}
trap 'echo SIGINT; pkill runcthon; pkill server; exit 1 ' SIGINT
trap 'echo; echo -n "Done:"; date; exit 2' SIGTERM
-Usage="$0 --mkdirs [dir] |--unmountall|--server|--serverdir|--noudp|--dokrb5|--onlykrb5|--nov4|--onlyv3|--onlyv4|--minver <ver>|--fsc|--rdma|--rdmaif <addr>|--onlyrdma"
+Usage="$0 --mkdirs [dir] |--unmountall|--server|--serverdir|--noudp|--dokrb5|--onlykrb5|--nov4|--onlyv3|--onlyv4|--minver <ver>|--fsc|--rdma|--rdmaif <addr>|--onlyrdma|--nolcks"
+nolcks=0
noudp=0
dokrb5=0
onlykrb5=0
@@ -165,6 +166,9 @@ do
"--nov4" )
nov4=1
;;
+ "--nolcks" )
+ nolcks=1
+ ;;
"--onlyv3" )
onlyv3=1
;;
@@ -203,7 +207,9 @@ done
date
seclist="krb5 krb5i krb5p"
echo "serverdir=$serverdir"
-for i in b g s l
+tests="b g s l"
+[ "$nolcks" -eq 1 ] && tests="b g s"
+for i in $tests
do
if [ "$onlykrb5" -eq 0 ]; then
if [ "$noudp" -ne 1 -a "$onlyrdma" -eq 0 ]; then