summaryrefslogtreecommitdiff
path: root/test/hbar.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-11 23:48:29 +0000
committerdavidovski <david@davidovski.xyz>2022-02-11 23:48:29 +0000
commitf090af0af78491efbbe41ef0b888dc7e7304e7fe (patch)
treea89684e76086d24a2b8603e4a51fce7c747411cd /test/hbar.sh
parent33e775af4521a4861f3e50c6e11faf754a708824 (diff)
completed hbar
Diffstat (limited to 'test/hbar.sh')
-rwxr-xr-xtest/hbar.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hbar.sh b/test/hbar.sh
new file mode 100755
index 0000000..d40c2ad
--- /dev/null
+++ b/test/hbar.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+HBAR=./src/hbar/hbar
+TEXT="Hello there"
+UNIT="mb"
+MAX=100
+
+for x in $(seq $MAX); do
+ ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
+ sleep 0.01
+done
+
+${HBAR}