зеркало из https://github.com/golang/sys.git
go.sys: use golang.org/x/... import paths
LGTM=bradfitz, rsc R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/171050043
This commit is contained in:
Родитель
7c39a4f50c
Коммит
dea3d764c2
|
@ -9,7 +9,7 @@ package plan9_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/plan9"
|
||||
"golang.org/x/sys/plan9"
|
||||
)
|
||||
|
||||
func testSetGetenv(t *testing.T, key, value string) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"syscall"
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/unix"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// TestSCMCredentials tests the sending and receiving of credentials
|
||||
|
|
|
@ -265,7 +265,7 @@ package $package
|
|||
import "unsafe"
|
||||
EOF
|
||||
|
||||
print "import \"code.google.com/p/go.sys/unix\"\n" if $package ne "unix";
|
||||
print "import \"golang.org/x/sys/unix\"\n" if $package ne "unix";
|
||||
|
||||
print <<EOF;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ package unix_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/unix"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func TestMmap(t *testing.T) {
|
||||
|
|
|
@ -9,7 +9,7 @@ package unix_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/unix"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
const MNT_WAIT = 1
|
||||
|
|
|
@ -9,7 +9,7 @@ package unix_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/unix"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func testSetGetenv(t *testing.T, key, value string) {
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"code.google.com/p/go.sys/unix"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// Tests that below functions, structures and constants are consistent
|
||||
|
|
|
@ -9,7 +9,7 @@ package windows_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/windows"
|
||||
"golang.org/x/sys/windows"
|
||||
)
|
||||
|
||||
func testSetGetenv(t *testing.T, key, value string) {
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"syscall"
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.sys/windows"
|
||||
"golang.org/x/sys/windows"
|
||||
)
|
||||
|
||||
func TestWin32finddata(t *testing.T) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче