diff options
author | Kali Kaneko <kali@leap.se> | 2014-01-27 16:11:53 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-01-28 19:38:46 -0400 |
commit | f5365ae0c2edb8b3e879f876f2f7e42b25f4616a (patch) | |
tree | 6f9787f65e89d720739b99d7feefc30138ea890f /src/leap/mail/imap/tests | |
parent | a5508429b90e2e9b58c5d073610ee5a10274663f (diff) |
handle last_uid property in memory store
Diffstat (limited to 'src/leap/mail/imap/tests')
-rwxr-xr-x | src/leap/mail/imap/tests/leap_tests_imap.zsh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/mail/imap/tests/leap_tests_imap.zsh b/src/leap/mail/imap/tests/leap_tests_imap.zsh index 676d1a8..8f0df9f 100755 --- a/src/leap/mail/imap/tests/leap_tests_imap.zsh +++ b/src/leap/mail/imap/tests/leap_tests_imap.zsh @@ -61,7 +61,8 @@ IMAPTEST="imaptest" # These should be kept constant across benchmarking # runs across different machines, for comparability. -DURATION=200 +#DURATION=200 +DURATION=60 NUM_MSG=200 @@ -76,7 +77,7 @@ imaptest_cmd() { } stress_imap() { - mknod imap_pipe p + mkfifo imap_pipe cat imap_pipe | tee output & imaptest_cmd >> imap_pipe } @@ -99,7 +100,7 @@ print_results() { echo "----------------------" echo "\tavg\tstdev" $GREP "avg" ./output | sed -e 's/^ *//g' -e 's/ *$//g' | \ - awk ' + gawk ' function avg(data, count) { sum=0; for( x=0; x <= count-1; x++) { |