Uniform time cmd in performance tests

This commit is contained in:
Olof hagsand 2020-02-16 10:23:03 +01:00
parent 5831c053fa
commit d665992f7c
4 changed files with 47 additions and 31 deletions

View file

@ -22,7 +22,7 @@ echo "]]></stdout></rpc-reply>" >> $fxml
#0.37user 1.94system 0:02.47elapsed 93%CPU (0avgtext+0avgdata 9336maxresident)k
#256inputs+0outputs (2major+2049minor)pagefaults 0swa
new "xml parse long CDATA"
expecteof_file "time $clixon_util_xml" 0 "$fxml"
expecteof_file "time -p $clixon_util_xml" 0 "$fxml" 2>&1 | awk '/real/ {print $2}'
rm -rf $dir