diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-06-13 15:29:45 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-06-13 15:29:45 +0200 |
commit | 0b0830e7c6f6911d568cd156b5729dd240773af0 (patch) | |
tree | e1063240a75e52884920b13191cb0fb471845e1d /src | |
parent | 68e18c7f35b332a4fbfa1bec206706667681ce30 (diff) | |
download | biruda-0b0830e7c6f6911d568cd156b5729dd240773af0.tar.gz biruda-0b0830e7c6f6911d568cd156b5729dd240773af0.tar.bz2 |
added first shacky automatic test, added tons of dodos
Diffstat (limited to 'src')
-rw-r--r-- | src/GNUmakefile | 8 | ||||
-rw-r--r-- | src/testscript | 10 |
2 files changed, 16 insertions, 2 deletions
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 |