changeset 55:dd02fe5255d9

Add explicit check for Hello World to make check.
author Mark Wielaard <mark@klomp.org>
date Fri, 31 Dec 2010 23:33:25 +0100
parents 81fa4638c023
children 846e4163d583
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Dec 31 23:29:27 2010 +0100
+++ b/Makefile	Fri Dec 31 23:33:25 2010 +0100
@@ -12,6 +12,7 @@
 
 check: helloworld
 	echo "Testing helloworld runs and exits with no error"
-	./helloworld
+	echo "Must at least produce Hello World"
+	./helloworld | grep "Hello my World"
 
 all: helloworld