summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/hbar.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/test/hbar.sh b/test/hbar.sh
index c01ee25..31b3a83 100755
--- a/test/hbar.sh
+++ b/test/hbar.sh
@@ -4,12 +4,6 @@ HBAR=./dist/hbar
UNIT="mb"
MAX=100
-TEXT="✓ Привет World Привет World Привет World Привет World Привет World Привет World "
-for x in $(seq $MAX); do
- ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
- #sleep 0.01
-done
-
sleep 1
clear
echo Doing hello there bar
@@ -18,8 +12,7 @@ sleep 1
TEXT="Hello there"
for x in $(seq $MAX); do
- ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
- #sleep 0.01
+ time ${HBAR} -l 2 -T "${TEXT}" -u ${UNIT} $x $MAX
done
${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX
@@ -50,3 +43,13 @@ for x in $(seq 0 991 $MAX); do
${HBAR} -h -T "${TEXT}" $((x*1000000)) $((MAX*1000000))
done
${HBAR} -ht -T "${TEXT}" $x $MAX
+
+sleep 1
+clear
+echo testing unicode
+sleep 1
+TEXT="✓ Привет World Привет World Привет World Привет World Привет World Привет World "
+for x in $(seq $MAX); do
+ ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
+ #sleep 0.01
+done