aboutsummaryrefslogtreecommitdiff
path: root/test/env.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-16 14:58:14 -0800
committerRuss Cox <rsc@golang.org>2009-01-16 14:58:14 -0800
commit360962420c484427bbc16e1f8699ee5cccc4f012 (patch)
tree321251a8cd180ad7856af54e8e531850d0735fb0 /test/env.go
parentec9f2b0cd46300b9da3a82aa3604c98fce017baa (diff)
downloadgo-360962420c484427bbc16e1f8699ee5cccc4f012.tar.gz
go-360962420c484427bbc16e1f8699ee5cccc4f012.zip
casify, cleanup sys
R=r OCL=22978 CL=22984
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 8b995f5b7c..41f230d1aa 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);
+ sys.Exit(1);
}
if ga != "amd64" {
print("$GOARCH=", ga, "\n");
- sys.exit(1);
+ sys.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);
+ sys.Exit(1);
}
}