mdbx-bench: rename log-file instead of remove it in case of error.

This commit is contained in:
Leo Yuriev 2017-10-27 18:26:55 +03:00
parent d1f04656ab
commit 03db768830

View File

@ -125,7 +125,7 @@ bench-$(1).txt: $(3) $(IOARENA) Makefile
LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}" \
$(IOARENA) -D $(1) -B get,iterate -m sync -r 4 -n $(2) \
| tee -a $$@ | grep throughput \
|| rm -f $$@
|| mv -f $$@ $$@.error
endef