From 0b0830e7c6f6911d568cd156b5729dd240773af0 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 13 Jun 2015 15:29:45 +0200 Subject: added first shacky automatic test, added tons of dodos --- src/GNUmakefile | 8 ++++++-- src/testscript | 10 ++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 src/testscript (limited to 'src') diff --git a/src/GNUmakefile b/src/GNUmakefile index 24cac8c..aefb70c 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -1,4 +1,4 @@ -.PHONY: all clean install +.PHONY: all clean install test all: 3rdParty/xxd/xxd biruda workertest @@ -80,4 +80,8 @@ run: all @-./biruda -c biruda.conf -p @-./biruda --guess-env --human-readable - +test: + @-./biruda -f -c biruda.conf & + @sleep 10 + @-./biruda -i --no-colors -c biruda.conf -F testscript + @-pkill biruda diff --git a/src/testscript b/src/testscript new file mode 100644 index 0000000..93ba663 --- /dev/null +++ b/src/testscript @@ -0,0 +1,10 @@ +status +messages + +start +worker1 +wait +20 +messages + +quit -- cgit v1.2.3-54-g00ecf