Skip to content

Commit

Permalink
Bash script didn't work well
Browse files Browse the repository at this point in the history
  • Loading branch information
coderplay committed Jul 16, 2015
1 parent 7becf36 commit c06b1b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lightningrpc-benchmark/bin/benchmark
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function print_usage() {
echo "where COMMAND is one of:"
echo " server run the benchmark server"
echo " client run the benchmark rpc client"
echo " simple-client run the benchmark simple client"
echo " simple-client run the benchmark simple client"
echo " classpath prints the class path needed to get the"
echo " Benchmark jar and the required libraries"
echo " or"
Expand Down Expand Up @@ -190,13 +190,13 @@ if [ "$COMMAND" = "classpath" ] ; then
echo $CLASSPATH
exit
elif [ "$COMMAND" = "server" ] ; then
CLASS='info.minzhou.lightning.rpc.netty.benchmark.NettyBenchmarkServer"
CLASS='info.minzhou.lightning.rpc.benchmark.netty.NettyBenchmarkServer'
BENCHMARK_OPTS="$BENCHMARK_OPTS $JAVA_BENCHMARK_SERVER_HEAP_MAX $BENCHMARK_SERVER_OPTS"
elif [ "$COMMAND" = "client" ] ; then
CLASS="info.minzhou.lightning.rpc.netty.benchmark.NettyRPCBenchmarkClient"
CLASS='info.minzhou.lightning.rpc.benchmark.netty.NettyRPCBenchmarkClient'
BENCHMARK_OPTS="$BENCHMARK_OPTS $JAVA_CLIENT_HEAP_MAX $BENCHMARK_CLIENT_OPTS"
elif [ "$COMMAND" = "simple-client" ] ; then
CLASS="info.minzhou.lightning.rpc.netty.benchmark.NettySimpleBenchmarkClient"
CLASS='info.minzhou.lightning.rpc.benchmark.netty.NettySimpleBenchmarkClient'
BENCHMARK_OPTS="$BENCHMARK_OPTS $JAVA_CLIENT_HEAP_MAX $BENCHMARK_CLIENT_OPTS"
elif [ "$COMMAND" = "version" ] ; then
CLASS='info.minzhou.lightning.rpc.VersionInfo'
Expand Down

0 comments on commit c06b1b3

Please sign in to comment.