summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-20 20:13:13 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-20 20:13:13 (EDT)
commitcaca6d6da28be37485c367ebcaa2abd46ec0ab34 (patch)
tree740c28b1aca9116073fbb1b9f87a1d24c812e2e5 /tests
parent312c09e7a6715a9611d0d3b6eefd6086744a6d25 (diff)
tests/common.sh: test_diff(): More local vars
Diffstat (limited to 'tests')
-rw-r--r--tests/common.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/common.sh b/tests/common.sh
index 2d8ce9a..3c3398b 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -71,6 +71,11 @@ test_diff()
{
local good_results="${1}"
local test_results="${2}"
+ local line_no=
+ local errors=
+ local good_line=
+ local test_line=
+ local line=
printf 'Diff:\n'
exec 3<<-EOF