aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/test.sh b/test.sh
index 81edd29..84d3ee9 100644
--- a/test.sh
+++ b/test.sh
@@ -1,13 +1,9 @@
#!/bin/sh
bytes=${1:-100}
-rm -f x.$bytes
-dd if=/dev/zero of=x.$bytes bs=$bytes count=1
make &>/dev/null
for i in 300 1200 2400 4800 9600 19200 33600 57600 115200; do
- SLOWBAUD_DEBUG=1 time ./slowbaud $i x.$bytes >/dev/null
+ SLOWBAUD_DEBUG=1 time ./slowbaud $i -b $bytes
done 2>&1 | tee test.out
-
-rm -f x.$bytes