Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d0b4cc

Browse files
committed
fix: skip bash tests on Windows
Change-Id: I8838e8c2d38766ad142e1f5bb224a2f82ac17d6bSigned-off-by: Thomas Kosiewski <tk@coder.com>
1 parentdadeab8 commit9d0b4cc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

‎codersdk/toolsdk/bash_test.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !windows
2+
// +build !windows
3+
14
package toolsdk_test
25

36
import (

‎codersdk/toolsdk/toolsdk_test.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"encoding/json"
66
"os"
7+
"runtime"
78
"sort"
89
"sync"
910
"testing"
@@ -397,6 +398,9 @@ func TestTools(t *testing.T) {
397398
})
398399

399400
t.Run("WorkspaceSSHExec",func(t*testing.T) {
401+
ifruntime.GOOS=="windows" {
402+
t.Skip("WorkspaceSSHExec is not supported on Windows")
403+
}
400404
// Setup workspace exactly like main SSH tests
401405
client,workspace,agentToken:=setupWorkspaceForAgent(t)
402406

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp