Skip to content

Commit

Permalink
MDEV-33374 main.mysql_connector_net fails on new Windows 11
Browse files Browse the repository at this point in the history
Additionally pass `-ExecutionPolicy Bypass` to powershell.exe when
executing script
  • Loading branch information
vaintroub committed Feb 2, 2024
1 parent 93189df commit c79f19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/main/mysql_connector_net.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let $sys_errno=0;
# Error 100 is returned by the powershell script
# if MySql.Data is not installed
--error 0,100
--exec powershell -NoLogo -NoProfile -File main\mysql_connector_net.ps1
--exec powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -File main\mysql_connector_net.ps1
if ($sys_errno != 0)
{
--skip Connector/NET is not installed
Expand Down

0 comments on commit c79f19a

Please sign in to comment.