aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-02-20 21:26:12 +0100
committerMattias Andrée <maandree@kth.se>2018-02-20 21:26:12 +0100
commit9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5 (patch)
treec913565a3407876533a552dfe276985f702ca72c /Makefile
parentAdd -s (diff)
downloadloc-2.tar.gz
loc-2.tar.bz2
loc-2.tar.xz
Update tests2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 24417a8..5b00b29 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,8 @@ loc: loc.o
check: loc
test "$$(./loc < tests/0)" = 0
test "$$(./loc - < tests/0)" = 0
- test "$$(./loc tests/1 tests/2 | sed 's/: */: /')" = "$$(printf '%s\n' 'tests/1: 0' 'tests/2: 1')"
+ test "$$(./loc tests/1 tests/2 | sed 's/: */: /')" = "$$(printf '%s\n' 'tests/1: 0' 'tests/2: 1' 1)"
+ test "$$(./loc -s tests/1 tests/2)" = 1
test "$$(./loc tests/0)" = 0
test "$$(./loc tests/1)" = 0
test "$$(./loc tests/2)" = 1