Skip to content

Commit fab194c

Browse files
committed
Add tests
Fix microsoft#17426
1 parent 013e146 commit fab194c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/common/terminals/shellDetectors/shellDetectors.unit.test.ts

+4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ suite('Shell Detectors', () => {
3333
shellPathsAndIdentification.set('c:\\windows\\system32\\wsl.exe', TerminalShellType.wsl);
3434
shellPathsAndIdentification.set('c:\\windows\\system32\\gitbash.exe', TerminalShellType.gitbash);
3535
shellPathsAndIdentification.set('/usr/bin/bash', TerminalShellType.bash);
36+
shellPathsAndIdentification.set('c:\\cygwin\\bin\\bash.exe', TerminalShellType.bash);
37+
shellPathsAndIdentification.set('c:\\cygwin64\\bin\\bash.exe', TerminalShellType.bash);
3638
shellPathsAndIdentification.set('/usr/bin/zsh', TerminalShellType.zsh);
39+
shellPathsAndIdentification.set('c:\\cygwin\\bin\\zsh.exe', TerminalShellType.zsh);
40+
shellPathsAndIdentification.set('c:\\cygwin64\\bin\\zsh.exe', TerminalShellType.zsh);
3741
shellPathsAndIdentification.set('/usr/bin/ksh', TerminalShellType.ksh);
3842
shellPathsAndIdentification.set('c:\\windows\\system32\\powershell.exe', TerminalShellType.powershell);
3943
shellPathsAndIdentification.set('c:\\windows\\system32\\pwsh.exe', TerminalShellType.powershellCore);

0 commit comments

Comments
 (0)