aboutsummaryrefslogtreecommitdiff
path: root/tests/test1.sh
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-22 12:33:10 -0700
committerChristian Cunningham <cc@localhost>2022-02-22 12:33:10 -0700
commitef262d9a0b4b4d973e3c0fcabc9cdf4d57fc93ce (patch)
treee4ebb97e338087d36c753ab342a9480770645cdd /tests/test1.sh
parent3b883c24da327036a049a0430bd00ebfdffd5c8f (diff)
Automate Testing
Diffstat (limited to 'tests/test1.sh')
-rwxr-xr-xtests/test1.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test1.sh b/tests/test1.sh
new file mode 100755
index 0000000..2641953
--- /dev/null
+++ b/tests/test1.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+pushd ./
+rm -f test1.log
+make run &
+cat guest.out >> test1.log &
+sleep 1
+printf "ab" >> guest.in
+sleep 2
+printf "\001x" >> guest.in
+popd