diff --git a/test/test_perf.sh b/test/test_perf.sh index 30e0135f..e47c7149 100755 --- a/test/test_perf.sh +++ b/test/test_perf.sh @@ -115,7 +115,7 @@ new "netconf add small (1 entry) config" expecteof "/usr/bin/time -f %e $clixon_netconf -qf $cfg -y $fyang" 0 'xy]]>]]>' "^]]>]]>$" new "netconf get $req small config" -/usr/bin/time -p for (( i=0; i<$req; i++ )); do +time -p for (( i=0; i<$req; i++ )); do rnd=$(( ( RANDOM % $number ) )) echo "]]>]]>" done | $clixon_netconf -qf $cfg -y $fyang > /dev/null diff --git a/test/travis/before_script.sh b/test/travis/before_script.sh index 948431c6..149a0705 100755 --- a/test/travis/before_script.sh +++ b/test/travis/before_script.sh @@ -3,12 +3,12 @@ # Clone and install CLIgen git clone https://github.com/olofhagsand/cligen.git (cd cligen && ./configure && make && sudo make install) -./configure && make && sudo make install -sudo /sbin/ldconfig -sudo make install-include -(cd example && make && sudo make install) -sudo groupadd clicon -sudo usermod -a -G clicon $(whoami) -sudo usermod -a -G clicon www-data +#./configure && make && sudo make install +#sudo /sbin/ldconfig +#sudo make install-include +#(cd example && make && sudo make install) +#sudo groupadd clicon +#sudo usermod -a -G clicon $(whoami) +#sudo usermod -a -G clicon www-data # Build the system docker container (make test may trigger it) (cd docker/system && make docker)