summaryrefslogtreecommitdiff
path: root/test/hbar.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-19 23:04:41 +0000
committerdavidovski <david@davidovski.xyz>2022-03-19 23:04:41 +0000
commit4c72e89f2ecb457a212b001bbaabd4c35ff77f82 (patch)
treeb4336903bb8abf26ce8f924fd93dab5109d7d513 /test/hbar.sh
parent00abdcdcba8f13b323d60409f33f2eeda3c171ef (diff)
proper support for unicode characters
Diffstat (limited to 'test/hbar.sh')
-rwxr-xr-xtest/hbar.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/hbar.sh b/test/hbar.sh
index 9daf606..8d47595 100755
--- a/test/hbar.sh
+++ b/test/hbar.sh
@@ -1,12 +1,19 @@
#!/bin/sh
HBAR=./bin/hbar
-TEXT="Hello there"
+#TEXT="Hello there"
+TEXT="Привет мир"
UNIT="mb"
MAX=100
for x in $(seq $MAX); do
${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
+ read
+done
+${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX
+
+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