Repository navigation
test failures under WSL #31
Copy link
Copy link
Closed
Description
When running in a Windows 11 WSL 2 Debian VM, lots of tests fail.
The first one is:
t/00_diag.t .............................. ok
#
#
#
# found /usr/bin / [
# found /usr/bin / test
# found /usr/bin / bash (shell)
# found /usr/bin / sh (shell)
# found /bin / [
# found /bin / test
# found /bin / bash (shell)
# found /bin / sh (shell)
# found /mnt/c/WINDOWS/system32 / cmd.exe (shell)
# found /mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/ / powershell.exe (shell)
# found /mnt/c/WINDOWS/system32 / cmd.exe (shell)
# found /mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/ / powershell.exe (shell)
#
#
#
t/01_diag.t .............................. ok
Das Argument "corpustrue.ps1" f�r den -File-Parameter ist nicht vorhanden. Geben Sie als Argument f�r den -File-Parameter den Pfad zu einer vorhandenen .ps1-Datei an.
/tmp/kHt2IhI_vy/foo.ps1 : Die Datei "\\wsl.localhost\Debian\tmp\kHt2IhI_vy\foo.ps1" kann nicht geladen werden. Die
Datei "\\wsl.localhost\Debian\tmp\kHt2IhI_vy\foo.ps1" ist nicht digital signiert. Sie k�nnen dieses Skript im
aktuellen System nicht ausf�hren. Weitere Informationen zum Ausf�hren von Skripts und Festlegen der
Ausf�hrungsrichtlinie erhalten Sie unter "about_Execution_Policies" (https:/go.microsoft.com/fwlink/?LinkID=135170)..
In Zeile:1 Zeichen:1
+ /tmp/kHt2IhI_vy/foo.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : Sicherheitsfehler: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
# Failed test 'execute/eval'
# at t/shell_config_generate__alias.t line 44.
# child exited with value
# error:
# shell path: /mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe
# [src-begin]
# #!/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe
# function myecho1 { /home/ahartmai/.plenv/versions/5.44.0/bin/perl5.44.0 /tmp/kHt2IhI_vy/fooecho.pl f00f $args }
# myecho1 one two three
# exit
# [src-end]
# [out-begin]
#
# [out-end]
# Failed test 'powershell.exe'
# at t/shell_config_generate__alias.t line 47.
t/shell_config_generate__alias.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
plicease commentedon Oct 7, 2026
Thank you for the report. I think #32 should address this.