ng0 5 年之前
父節點
當前提交
a55529b61d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/transport/profile_transport.sh

+ 2 - 2
src/transport/profile_transport.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 C_ITERATIONS=5
 C_MESSAGE_DELTA=10
@@ -11,7 +11,7 @@ C_MESSAGE_END=2000
 # done
 
 
-for ((cur=$C_MESSAGE_START; cur<=$C_MESSAGE_END; cur = cur + $C_MESSAGE_DELTA))
+for $((cur=$C_MESSAGE_START; cur<=$C_MESSAGE_END; cur = cur + $C_MESSAGE_DELTA))
 {
 	./gnunet-transport-profiler -p  NSGWRTMHG2YJK9KZSTEWKJ5TK20AGRDBWHFA1ZNKKZ7T360MZ8S0 -s -c perf_https_peer1.conf -n 20240 -m $cur -i 4
 	sleep 1