From 792e1bc143a84b1a0707e1f2f91a20cef6f43e31 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 13 Sep 2016 16:10:12 +0300 Subject: tests: Make local variables local Avoid interfering with the vsp-lib namespace by making local variables local. Signed-off-by: Laurent Pinchart --- tests/vsp-unit-test-0014.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/vsp-unit-test-0014.sh') diff --git a/tests/vsp-unit-test-0014.sh b/tests/vsp-unit-test-0014.sh index 3958373..b9e8e7c 100755 --- a/tests/vsp-unit-test-0014.sh +++ b/tests/vsp-unit-test-0014.sh @@ -20,12 +20,14 @@ test_rpf_unpacking() { vsp_runner rpf.0 & vsp_runner wpf.0 - result=$(compare_frames) + local result=$(compare_frames) test_complete $result } test_main() { + local format + for format in $formats ; do test_rpf_unpacking $format done -- cgit v1.2.3