summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0009.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vsp-unit-test-0009.sh')
-rwxr-xr-xtests/vsp-unit-test-0009.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/vsp-unit-test-0009.sh b/tests/vsp-unit-test-0009.sh
index 395e660..dbc2ec5 100755
--- a/tests/vsp-unit-test-0009.sh
+++ b/tests/vsp-unit-test-0009.sh
@@ -12,7 +12,7 @@ optional_features="wpf.1 wpf.2 wpf.3"
format=RGB24
test_wpf() {
- wpf=$1
+ local wpf=$1
test_start "WPF.$wpf"
@@ -22,13 +22,14 @@ test_wpf() {
vsp_runner rpf.0 &
vsp_runner wpf.$wpf
- result=$(compare_frames)
+ local result=$(compare_frames)
test_complete $result
}
test_main() {
- num_wpfs=$(vsp1_count_wpfs)
+ local num_wpfs=$(vsp1_count_wpfs)
+ local wpf
for wpf in `seq 0 1 $((num_wpfs-1))` ; do
test_wpf $wpf