summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/vsp-unit-test-0012.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/vsp-unit-test-0012.sh b/tests/vsp-unit-test-0012.sh
index a536ca9..afbe279 100755
--- a/tests/vsp-unit-test-0012.sh
+++ b/tests/vsp-unit-test-0012.sh
@@ -79,6 +79,11 @@ test_main() {
}
done
+ # Reset the rotation control to avoid interfering with the test
+ $(vsp1_has_feature "wpf.0[control:'Rotate']") && {
+ vsp1_set_control wpf.0 Rotate 0
+ }
+
local directions=$supported_directions
for direction in $directions ; do