From ea031838fb84f559aeeef6499dc9a5da66f5621a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 25 Jul 2013 10:36:01 +0200 Subject: add check for line break --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6312cfa..55eb9f4 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,8 @@ all: nthash.c check: $(ECHO) -n "testing123" | ./nthash | \ $(GREP) -q '^3e678b266d1d449e531e92bec33b6d27$$' + $(ECHO) "testing123" | ./nthash 2>&1 | \ + $(GREP) -q '^Warning: Input contains line break!$$' install: $(INSTALL) -D -m0755 nthash $(DESTDIR)/usr/bin/nthash -- cgit v1.2.3-70-g09d2