summaryrefslogtreecommitdiff
path: root/tests/shells.Tests.ps1
diff options
context:
space:
mode:
authornzbr <mail@nzbr.de>2023-01-17 19:46:54 +0100
committernzbr <mail@nzbr.de>2023-01-17 19:46:54 +0100
commitca81ce0df217a7e70da54b72b1af7dc76a6a4bfe (patch)
treea5571d844e7d3c5cfe72e8934e9e28e7b6e3afd0 /tests/shells.Tests.ps1
parent217178edb1127fb41ac4fd534d8a513c3dd3d81b (diff)
fix powershell test
Diffstat (limited to 'tests/shells.Tests.ps1')
-rw-r--r--tests/shells.Tests.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shells.Tests.ps1 b/tests/shells.Tests.ps1
index fda3295..4dae61b 100644
--- a/tests/shells.Tests.ps1
+++ b/tests/shells.Tests.ps1
@@ -18,7 +18,7 @@ users.users.`${config.wsl.defaultUser}.shell = pkgs.$package;
"@ > $temp
$distro.InstallConfig($temp)
Remove-Item $temp
- $distro.Launch("echo `$SHELL") | Select-Object -Last 1 | Should -BeExactly "/run/current-system/sw/bin/$executable"
+ $distro.Launch("echo `$SHELL") | Remove-Escapes | Select-Object -Last 1 | Should -BeExactly "/run/current-system/sw/bin/$executable"
$LASTEXITCODE | Should -Be 0
}
}