aboutsummaryrefslogtreecommitdiff
path: root/ssh/test
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/test')
-rw-r--r--ssh/test/agent_unix_test.go1
-rw-r--r--ssh/test/banner_test.go1
-rw-r--r--ssh/test/cert_test.go1
-rw-r--r--ssh/test/dial_unix_test.go1
-rw-r--r--ssh/test/forward_unix_test.go1
-rw-r--r--ssh/test/multi_auth_test.go1
-rw-r--r--ssh/test/session_test.go1
-rw-r--r--ssh/test/sshd_test_pw.c2
-rw-r--r--ssh/test/test_unix_test.go1
9 files changed, 1 insertions, 9 deletions
diff --git a/ssh/test/agent_unix_test.go b/ssh/test/agent_unix_test.go
index 43fbdb2..aeecaeb 100644
--- a/ssh/test/agent_unix_test.go
+++ b/ssh/test/agent_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package test
diff --git a/ssh/test/banner_test.go b/ssh/test/banner_test.go
index 3bfdd4b..dd17db5 100644
--- a/ssh/test/banner_test.go
+++ b/ssh/test/banner_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package test
diff --git a/ssh/test/cert_test.go b/ssh/test/cert_test.go
index 83dd534..15c44fb 100644
--- a/ssh/test/cert_test.go
+++ b/ssh/test/cert_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package test
diff --git a/ssh/test/dial_unix_test.go b/ssh/test/dial_unix_test.go
index 4a7ec31..0a5f5e3 100644
--- a/ssh/test/dial_unix_test.go
+++ b/ssh/test/dial_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build !windows && !js && !wasip1
-// +build !windows,!js,!wasip1
package test
diff --git a/ssh/test/forward_unix_test.go b/ssh/test/forward_unix_test.go
index 1171bc3..611122b 100644
--- a/ssh/test/forward_unix_test.go
+++ b/ssh/test/forward_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package test
diff --git a/ssh/test/multi_auth_test.go b/ssh/test/multi_auth_test.go
index 403d736..14cf1cc 100644
--- a/ssh/test/multi_auth_test.go
+++ b/ssh/test/multi_auth_test.go
@@ -15,7 +15,6 @@
// (for linux) in file ./sshd_test_pw.c.
//go:build linux
-// +build linux
package test
diff --git a/ssh/test/session_test.go b/ssh/test/session_test.go
index 4745ed9..69c8b86 100644
--- a/ssh/test/session_test.go
+++ b/ssh/test/session_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build !windows && !js && !wasip1
-// +build !windows,!js,!wasip1
package test
diff --git a/ssh/test/sshd_test_pw.c b/ssh/test/sshd_test_pw.c
index 2794a56..1e48619 100644
--- a/ssh/test/sshd_test_pw.c
+++ b/ssh/test/sshd_test_pw.c
@@ -20,7 +20,7 @@
// Run sshd:
// LD_PRELOAD="sshd_test_pw.so" TEST_USER="..." TEST_PASSWD="..." sshd ...
-// +build ignore
+//go:build ignore
#define _GNU_SOURCE
#include <string.h>
diff --git a/ssh/test/test_unix_test.go b/ssh/test/test_unix_test.go
index f3f55db..8dbedb0 100644
--- a/ssh/test/test_unix_test.go
+++ b/ssh/test/test_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || plan9 || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd plan9 solaris
package test