summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/hbar.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/hbar.sh b/test/hbar.sh
index ab0c812..80f6a9c 100755
--- a/test/hbar.sh
+++ b/test/hbar.sh
@@ -5,19 +5,17 @@ TEXT="Hello there"
UNIT="mb"
MAX=100
-
-echo
for x in $(seq $MAX); do
${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
sleep 0.01
done
${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX
-echo 1; echo 2
+hbar
for x in $(seq $MAX); do
- ${HBAR} -l 1 -T "${TEXT}" -u ${UNIT} $((MAX - x)) $MAX
- ${HBAR} -l 2 -T "${TEXT}" -u ${UNIT} $x $MAX
+ ${HBAR} -l 0 -T "${TEXT}" -u ${UNIT} $((MAX - x)) $MAX
+ ${HBAR} -l 1 -T "${TEXT}" -u ${UNIT} $x $MAX
sleep 0.01
done
-${HBAR} -l 1 -t -T "${TEXT}" -u ${UNIT} $((MAX-x)) $MAX
-${HBAR} -l 2 -t -T "${TEXT}" -u ${UNIT} $x $MAX
+${HBAR} -l 0 -t -T "${TEXT}" -u ${UNIT} $((MAX-x)) $MAX
+${HBAR} -l 1 -t -T "${TEXT}" -u ${UNIT} $x $MAX