bastion 0.55.3
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m51s
ci / fuzz (push) Successful in 2m55s

This commit is contained in:
Privatae
2026-10-25 23:16:45 +00:00
parent 77b7853ae1
commit 8822d5df85
136 changed files with 8638 additions and 1641 deletions
+1 -4
View File
@@ -228,7 +228,7 @@ func TestSessionFramingResizeAndTranscript(t *testing.T) {
if err != nil {
t.Fatalf("transcript missing: %v", err)
}
if runtime.GOOS != "windows" && st.Mode().Perm() != 0o600 {
if st.Mode().Perm() != 0o600 {
t.Fatalf("transcript mode %o, want 0600", st.Mode().Perm())
}
raw, _ := os.ReadFile(p)
@@ -613,9 +613,6 @@ func TestSessionWorkerLaneRouting(t *testing.T) {
// TestSessionRefusesTerminalServers: tmux/screen are servers that outlive the
// session's kill, so they are never the session shell even when /etc/shells lists them.
func TestSessionRefusesTerminalServers(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("unix spawner")
}
shells := filepath.Join(t.TempDir(), "shells")
_ = os.WriteFile(shells, []byte("/usr/bin/tmux\n/usr/bin/screen\n/bin/sh\n"), 0o644)
old := sessionShellsPath