gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated (15393f04d -> 9eaffe89f)


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated (15393f04d -> 9eaffe89f)
Date: Sat, 09 Mar 2019 12:48:00 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a change to branch master
in repository gnunet.

    from 15393f04d bashism
     new a55529b61 bashism
     new 880cbc22a bashism
     new bcee032b3 bashism
     new 9eaffe89f bashism

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 contrib/scripts/debug              | 2 +-
 src/cadet/run_profiler.sh          | 2 +-
 src/transport/benchmark.sh         | 8 +++-----
 src/transport/profile_transport.sh | 4 ++--
 4 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/contrib/scripts/debug b/contrib/scripts/debug
index 3de2c9a14..c20ebd7dc 100755
--- a/contrib/scripts/debug
+++ b/contrib/scripts/debug
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # /proc/sys/kernel/core_pattern should be core.%p.%E
 
 COREPID=$1
diff --git a/src/cadet/run_profiler.sh b/src/cadet/run_profiler.sh
index 81ea4a761..4273dcd27 100755
--- a/src/cadet/run_profiler.sh
+++ b/src/cadet/run_profiler.sh
@@ -22,4 +22,4 @@ echo "using $PEERS peers, $LINKS links";
     
 sed -e "s/%LINKS%/$LINKS/;s/%NSE%/$NSE/" profiler.conf > .profiler.conf
 
-./gnunet-cadet-profiler $ROUNDTIME $PEERS $PINGS $4 |& tee log | grep -v DEBUG
+./gnunet-cadet-profiler $ROUNDTIME $PEERS $PINGS $4 2>&1 | tee log | grep -v 
DEBUG
diff --git a/src/transport/benchmark.sh b/src/transport/benchmark.sh
index 6ae68af2a..a29e6ec2d 100755
--- a/src/transport/benchmark.sh
+++ b/src/transport/benchmark.sh
@@ -1,15 +1,13 @@
-#/bin/sh
+#!/bin/sh
 
-for i in {1..0}
+for i in $(seq 1 0)
 do
  echo RUN $i
  ./test_transport_api_reliability_http
 done
 
-for i in {1..100}
+for i in $(seq 1 100)
 do
  echo RUN $i
  ./test_transport_api_reliability_https
 done
- 
- 
\ No newline at end of file
diff --git a/src/transport/profile_transport.sh 
b/src/transport/profile_transport.sh
index aa5c4a88f..0e6935fc7 100755
--- a/src/transport/profile_transport.sh
+++ b/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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]