mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
Fixes a couple agent tests so that they work correctly on Windows. `HOME` is not a standard Windows environment variable, and we don't have any specific Code in Coder to set it on SSH, so I've removed the test case. Amazingly/bizarrely the Windows test runners set this variable, but this is not standard Windows behavior so we shouldn't be including it in our tests. Also the command `true` is not valid on a default Windows install. ``` true: The term 'true' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ``` I'm not really sure how the CI runners are allowing this test to pass, but again, it's not standard so we shouldn't be doing it.