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-9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5.tar.gz
loc-9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5.tar.bz2
loc-9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5.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