Skip to content

Fix for #239: prevent gsudo from wsl to default to Windows directory #243

Fix for #239: prevent gsudo from wsl to default to Windows directory

Fix for #239: prevent gsudo from wsl to default to Windows directory #243

GitHub Actions / TestsResults (dotnet) succeeded Apr 30, 2023 in 1s

TestsResults (dotnet) ✔️

Tests passed successfully

✔️ TestResults.trx

38 tests were completed in 50s with 38 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
gsudo.Tests.ArgumentParsingTests 2✔️ 5ms
gsudo.Tests.CmdTests 13✔️ 13s
gsudo.Tests.CommandLineParserTests 5✔️ 198ms
gsudo.Tests.PowerShellCoreAttachedTests 6✔️ 8s
gsudo.Tests.PowerShellCoreTests 6✔️ 17s
gsudo.Tests.PowerShellTests 6✔️ 7s

✔️ gsudo.Tests.ArgumentParsingTests

✔️ Arguments_NoQuotesTests
✔️ Arguments_QuotedTests

✔️ gsudo.Tests.CmdTests

✔️ Cmd_BatchFileWithoutExtensionTest
✔️ Cmd_ChangeDirTest
✔️ Cmd_CommandLineAppNoWaitTest
✔️ Cmd_DebugTestHelper
✔️ Cmd_DirTest
✔️ Cmd_EchoDoubleQuotesTest
✔️ Cmd_EchoSimpleQuotesTest
✔️ Cmd_ExitCodeTest_1
✔️ Cmd_ExitCodeTest_2
✔️ Cmd_UnexistentAppTest
✔️ Cmd_WindowsAppNoWaitTest
✔️ Cmd_WindowsAppWaitTest
✔️ Cmd_WindowsAppWithQuotesTest

✔️ gsudo.Tests.CommandLineParserTests

✔️ CmdLine_Flags_System
✔️ CmdLine_Flags1
✔️ CmdLine_Help
✔️ CmdLine_OptionWithArguments
✔️ CmdLine_TrustedInstaller

✔️ gsudo.Tests.PowerShellCoreAttachedTests

✔️ PS_CommandLineEchoDoubleQuotesTest
✔️ PS_CommandLineEchoSingleQuotesTest
✔️ PS_EchoDoubleQuotesTest
✔️ PS_EchoNoQuotesTest
✔️ PS_EchoSingleQuotesTest
✔️ PS_WriteProgress

✔️ gsudo.Tests.PowerShellCoreTests

✔️ PS_CommandLineEchoDoubleQuotesTest
✔️ PS_CommandLineEchoSingleQuotesTest
✔️ PS_EchoDoubleQuotesTest
✔️ PS_EchoNoQuotesTest
✔️ PS_EchoSingleQuotesTest
✔️ PS_WriteProgress

✔️ gsudo.Tests.PowerShellTests

✔️ PS_CommandLineEchoDoubleQuotesTest
✔️ PS_CommandLineEchoSingleQuotesTest
✔️ PS_EchoDoubleQuotesTest
✔️ PS_EchoNoQuotesTest
✔️ PS_EchoSingleQuotesTest
✔️ PS_WriteProgress