aboutsummaryrefslogtreecommitdiff
path: root/test/env.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
committerRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
commit918afd9491bd07aed10bc364012683fc52c734bb (patch)
tree5b8c80c41b4110b57cef1a0945350c2caf7557e2 /test/env.go
parentc367d1b789b0aed59e871aee588d776998a8f479 (diff)
downloadgo-918afd9491bd07aed10bc364012683fc52c734bb.tar.gz
go-918afd9491bd07aed10bc364012683fc52c734bb.zip
move things out of sys into os and runtime
R=r OCL=28569 CL=28573
Diffstat (limited to 'test/env.go')
-rw-r--r--test/env.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/env.go b/test/env.go
index 41f230d1aa..88cec4546b 100644
--- a/test/env.go
+++ b/test/env.go
@@ -12,15 +12,15 @@ func main() {
ga, e0 := os.Getenv("GOARCH");
if e0 != nil {
print("$GOARCH: ", e0.String(), "\n");
- sys.Exit(1);
+ os.Exit(1);
}
if ga != "amd64" {
print("$GOARCH=", ga, "\n");
- sys.Exit(1);
+ os.Exit(1);
}
xxx, e1 := os.Getenv("DOES_NOT_EXIST");
if e1 != os.ENOENV {
print("$DOES_NOT_EXIST=", xxx, "; err = ", e1.String(), "\n");
- sys.Exit(1);
+ os.Exit(1);
}
}