summaryrefslogtreecommitdiff
path: root/libgo/go/path/path_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-12-12 23:13:29 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-12-12 23:13:29 +0000
commita42a906c420d7bb196cb8541e0ab65264a0b04b0 (patch)
tree8c441679e35147b1e9bec048f733fc394fb0c161 /libgo/go/path/path_test.go
parentbc77608b97abcc4bb3171f08a71e34ae342e9f8d (diff)
libgo: Update to current master library sources.
From-SVN: r194460
Diffstat (limited to 'libgo/go/path/path_test.go')
-rw-r--r--libgo/go/path/path_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/path/path_test.go b/libgo/go/path/path_test.go
index 69096494e2a..926b57355a0 100644
--- a/libgo/go/path/path_test.go
+++ b/libgo/go/path/path_test.go
@@ -64,6 +64,7 @@ var cleantests = []PathTest{
}
func TestClean(t *testing.T) {
+ defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1))
for _, test := range cleantests {
if s := Clean(test.path); s != test.result {
t.Errorf("Clean(%q) = %q, want %q", test.path, s, test.result)