From 3272a63cf1dcc23252ffebb792466b797ad3a146 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 6 Oct 2022 08:48:04 +0100 Subject: Fixed hbar printing issue --- test/hbar.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/hbar.sh b/test/hbar.sh index 4a124f2..6eaaa55 100755 --- a/test/hbar.sh +++ b/test/hbar.sh @@ -10,6 +10,11 @@ for x in $(seq $MAX); do #sleep 0.01 done +sleep 1 +clear +echo Doing hello there bar +sleep 1 + TEXT="Hello there" ${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX @@ -19,19 +24,27 @@ for x in $(seq $MAX); do done ${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX +sleep 1 +clear +echo Doing 2 bars at the same time +sleep 1 + hbar for x in $(seq $MAX); do ${HBAR} -l 0 -T "${TEXT}" $((MAX - x)) $MAX ${HBAR} -l 1 -T "${TEXT}" $x $MAX - #sleep 0.01 done ${HBAR} -l 1 -T "${TEXT}" $x $MAX ${HBAR} -l 0 -t -T "${TEXT}" $((MAX-x)) $MAX MAX=20000000 +sleep 1 +clear +echo Doing long bar +sleep 1 + for x in $(seq 0 991 $MAX); do ${HBAR} -h -T "${TEXT}" $x $MAX - #sleep 0.01 done ${HBAR} -ht -T "${TEXT}" $x $MAX -- cgit v1.2.1