]> p2p-next.cs.pub.ro Git - p2p-testing-infrastructure.git/commitdiff
ControlScripts/clients/hrk: fix command line argument verification in start_hrk_...
authorP2P-Next User <p2p@p2p-next-04-201.grid.pub.ro>
Wed, 18 Aug 2010 16:57:41 +0000 (16:57 +0000)
committerP2P-Next User <p2p@p2p-next-04-201.grid.pub.ro>
Wed, 18 Aug 2010 16:57:41 +0000 (16:57 +0000)
ControlScripts/clients/hrk/start_hrk_leecher_limit.sh
ControlScripts/clients/hrk/start_hrk_seeder_limit.sh

index b60bfa8baaec5e43d80234d4a67b107eb70a1b04..50f1e22538b9d803d33dab80b09b8da423e22065 100755 (executable)
@@ -12,8 +12,8 @@
 # If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
 #
 
-if test $# -ne 2; then
-       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s)" 1>&2
+if test $# -ne 3; then
+       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s) number-of-connections" 1>&2
        exit 1
 fi
 
index 037b5834dbca429267d98f44f4152c9c5bbb4db3..99022f9fc2c9f6a6143e2a93b1e7eaca016a0859 100755 (executable)
@@ -12,8 +12,8 @@
 # If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
 #
 
-if test $# -ne 2; then
-       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s)" 1>&2
+if test $# -ne 3; then
+       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s) number-of-connections" 1>&2
        exit 1
 fi