summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-18 00:27:39 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-18 00:27:39 +0200
commit16daa13db548e87e25806c2036fe5acb0276a05e (patch)
treef8303e1b77aab2631a01d71e61613f9542c1177f
parentb958f568200dd95e9ba0a22dc1add5c578e24a82 (diff)
test/main: Fixed envstore rm benchmark, removed ZERR trap for benchmark
-rwxr-xr-xtest/main3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/main b/test/main
index c9ea5c6..29b6af8 100755
--- a/test/main
+++ b/test/main
@@ -83,6 +83,7 @@ $envstore clear
print -P '\n%F{green}Test passed%F{default}\n'
+trap '' ZERR
echo "## some benchmarks now..."
TIMEFMT='%*E real, %*U user, %*S system - %P%% CPU - %J'
@@ -94,5 +95,5 @@ for i in {0..5000}; {
echo
repeat 2 {time $envstore eval > /dev/null}
-repeat 2 {time $envstore rm 99999 > /dev/null}
+time $envstore rm 999 > /dev/null
repeat 2 {time $envstore clear}