From 751219a6ab2a829d2d357f4fa68b4ee20ae4cdac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Herranz=20Ram=C3=ADrez?= Date: Thu, 30 Jan 2025 10:00:11 +0100 Subject: [PATCH] Changes in the update script --- tests/wsl/install/update_windows.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wsl/install/update_windows.pm b/tests/wsl/install/update_windows.pm index 13fe0418060e..1927f03f55e0 100644 --- a/tests/wsl/install/update_windows.pm +++ b/tests/wsl/install/update_windows.pm @@ -17,7 +17,7 @@ sub run { $self->run_in_powershell(cmd => "Invoke-WebRequest -Uri \"$vbs_url\" -OutFile \"$env:TEMP\\UpdateInstall.ps1\""); $self->run_in_powershell(cmd => "Set-ExecutionPolicy Bypass -Scope CurrentUser -Force"); $self->run_in_powershell( - cmd => '$env:TEMP\\UpdateInstall.ps1 -NonInteractive', + cmd => "\$env:TEMP\\UpdateInstall.ps1 -NonInteractive", code => sub { die("Update script finished unespectedly or timed out...") unless wait_serial('0', timeout => 3600);