commit d67588f9e6aa583717e4fed3540c51796cd22c30
parent 147424c6bb49e5f70868d84ecc983b4dc8ba0ec1
Author: Kyle Milz <kyle@0x30.net>
Date: Wed, 10 Aug 2016 00:13:53 -0600
src: fix thinko
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/check.in b/src/check.in
@@ -77,7 +77,7 @@ echo done
echo
echo Summary:
[ ${COUNT[0]} -eq 0 ] && err " 0 ${DESC[0]}"
-let i=1
+let i=0
while [ $i -lt $desc_len ]; do
if [ ${COUNT[$i]} -eq 0 ]; then
let i++
diff --git a/t/inst_basic_link.t b/t/inst_basic_link.t
@@ -18,11 +18,11 @@ echo "ok 2 - source files wrote"
cc main.c
echo "ok 3 - source compiled"
-citrun-check | sed -e "s,'.*',''," > citrun-check.txt
+citrun-check > citrun-check.txt
echo "ok 4 - processed citrun.log"
cat <<EOF > citrun-check.txt.good
-Checking '' .Done
+Checking ..done
Summary:
1 Log files found
@@ -35,7 +35,7 @@ Summary:
Totals:
6 Lines of source code
32 Lines of instrumentation header
- 1 Functions called ''
+ 1 Functions called 'main'
1 Function definitions
1 Return statement values
3 Total statements