From ef262d9a0b4b4d973e3c0fcabc9cdf4d57fc93ce Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 22 Feb 2022 12:33:10 -0700 Subject: Automate Testing --- tests/test1.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/test1.sh (limited to 'tests') 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 -- cgit v1.2.1