summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-25 10:36:01 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-25 10:36:01 +0200
commitea031838fb84f559aeeef6499dc9a5da66f5621a (patch)
tree8fe981b78c6c948df0cdce9214b72a862a760841
parentbe4a7604abed3b0a3ffb85c9ecb5f5bfa63e74fc (diff)
downloadnthash-ea031838fb84f559aeeef6499dc9a5da66f5621a.tar.gz
nthash-ea031838fb84f559aeeef6499dc9a5da66f5621a.tar.zst
add check for line break0.1.3
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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