commit 31c039eec4500cc05fbf9787d1dbcd13b6c8910c
parent 209d05f95b572213417db23b005b96d19e916b25
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Sun, 9 Feb 2020 18:25:53 +0100
add test for usage
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -10,6 +10,8 @@ install: scroll
cp scroll ${BINDIR}
test: scroll
- # return code passthrough of childs
+ # check usage
+ if ./scroll; then exit 1; fi
+ # check exit passthrough of child
if ! ./scroll true; then exit 1; fi
if ./scroll false; then exit 1; fi