From 0da89b3964d7b9f44d5180b147791c57312ddd0f Mon Sep 17 00:00:00 2001 From: Olivier Duperray Date: Tue, 24 Jan 2012 14:48:15 -0500 Subject: [PATCH] test: Add the usual Copyright notice. Fixes #2759. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5570053 --- misc/cgo/test/align.go | 4 ++++ misc/cgo/test/callback.go | 4 ++++ src/cmd/gofix/netdial_test.go | 4 ++++ src/cmd/gofix/reflect_test.go | 4 ++++ test/chan/select4.go | 4 ++++ test/fixedbugs/bug222.dir/chanbug.go | 4 ++++ test/fixedbugs/bug222.dir/chanbug2.go | 4 ++++ test/fixedbugs/bug248.dir/bug0.go | 4 ++++ test/fixedbugs/bug248.dir/bug1.go | 4 ++++ test/fixedbugs/bug248.dir/bug2.go | 4 ++++ test/fixedbugs/bug248.dir/bug3.go | 4 ++++ test/fixedbugs/bug260.go | 4 ++++ test/fixedbugs/bug367.dir/main.go | 4 ++++ test/fixedbugs/bug367.dir/p.go | 4 ++++ test/fixedbugs/bug377.dir/one.go | 4 ++++ test/fixedbugs/bug377.dir/two.go | 4 ++++ test/fixedbugs/bug382.go | 4 ++++ 17 files changed, 68 insertions(+) diff --git a/misc/cgo/test/align.go b/misc/cgo/test/align.go index 07ab9ef503a..a23b44fc38c 100644 --- a/misc/cgo/test/align.go +++ b/misc/cgo/test/align.go @@ -1,3 +1,7 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package cgotest /* diff --git a/misc/cgo/test/callback.go b/misc/cgo/test/callback.go index d20790e875f..ef852561b7d 100644 --- a/misc/cgo/test/callback.go +++ b/misc/cgo/test/callback.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package cgotest /* diff --git a/src/cmd/gofix/netdial_test.go b/src/cmd/gofix/netdial_test.go index 43ca3874759..fff00b4ada1 100644 --- a/src/cmd/gofix/netdial_test.go +++ b/src/cmd/gofix/netdial_test.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package main func init() { diff --git a/src/cmd/gofix/reflect_test.go b/src/cmd/gofix/reflect_test.go index b0e2fc20c34..032cbc74505 100644 --- a/src/cmd/gofix/reflect_test.go +++ b/src/cmd/gofix/reflect_test.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package main import ( diff --git a/test/chan/select4.go b/test/chan/select4.go index 46618ac8812..26a55e6d436 100644 --- a/test/chan/select4.go +++ b/test/chan/select4.go @@ -1,5 +1,9 @@ // $G $D/$F.go && $L $F.$A && ./$A.out +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package main func f() *int { diff --git a/test/fixedbugs/bug222.dir/chanbug.go b/test/fixedbugs/bug222.dir/chanbug.go index 9194927b57f..16920246e00 100644 --- a/test/fixedbugs/bug222.dir/chanbug.go +++ b/test/fixedbugs/bug222.dir/chanbug.go @@ -1,3 +1,7 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package chanbug var C chan<- (chan int) var D chan<- func() diff --git a/test/fixedbugs/bug222.dir/chanbug2.go b/test/fixedbugs/bug222.dir/chanbug2.go index 73e16678e9f..109581dc303 100644 --- a/test/fixedbugs/bug222.dir/chanbug2.go +++ b/test/fixedbugs/bug222.dir/chanbug2.go @@ -1,2 +1,6 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package Bar import _ "chanbug" diff --git a/test/fixedbugs/bug248.dir/bug0.go b/test/fixedbugs/bug248.dir/bug0.go index 7fc7401c5a9..78433f504d3 100644 --- a/test/fixedbugs/bug248.dir/bug0.go +++ b/test/fixedbugs/bug248.dir/bug0.go @@ -1,3 +1,7 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package p type T struct { diff --git a/test/fixedbugs/bug248.dir/bug1.go b/test/fixedbugs/bug248.dir/bug1.go index 7fc7401c5a9..78433f504d3 100644 --- a/test/fixedbugs/bug248.dir/bug1.go +++ b/test/fixedbugs/bug248.dir/bug1.go @@ -1,3 +1,7 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package p type T struct { diff --git a/test/fixedbugs/bug248.dir/bug2.go b/test/fixedbugs/bug248.dir/bug2.go index adce3667708..ba547d64a10 100644 --- a/test/fixedbugs/bug248.dir/bug2.go +++ b/test/fixedbugs/bug248.dir/bug2.go @@ -1,3 +1,7 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package main import ( diff --git a/test/fixedbugs/bug248.dir/bug3.go b/test/fixedbugs/bug248.dir/bug3.go index e5a24495577..4a56c5cc81c 100644 --- a/test/fixedbugs/bug248.dir/bug3.go +++ b/test/fixedbugs/bug248.dir/bug3.go @@ -1,3 +1,7 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package main import ( diff --git a/test/fixedbugs/bug260.go b/test/fixedbugs/bug260.go index 91dc89f77a5..39d29b430c8 100644 --- a/test/fixedbugs/bug260.go +++ b/test/fixedbugs/bug260.go @@ -1,5 +1,9 @@ // $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: bug260 failed +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + // Test that structures pack densely, according to the alignment of the largest field. package main diff --git a/test/fixedbugs/bug367.dir/main.go b/test/fixedbugs/bug367.dir/main.go index 21e9a5002c9..c278e4dd95f 100644 --- a/test/fixedbugs/bug367.dir/main.go +++ b/test/fixedbugs/bug367.dir/main.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package main import ( diff --git a/test/fixedbugs/bug367.dir/p.go b/test/fixedbugs/bug367.dir/p.go index c8772d2d051..2028f740ccd 100644 --- a/test/fixedbugs/bug367.dir/p.go +++ b/test/fixedbugs/bug367.dir/p.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package p type T struct{ x int } diff --git a/test/fixedbugs/bug377.dir/one.go b/test/fixedbugs/bug377.dir/one.go index c9060756b1a..e29b813a481 100644 --- a/test/fixedbugs/bug377.dir/one.go +++ b/test/fixedbugs/bug377.dir/one.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package one func Foo() (n int64, _ *int) { diff --git a/test/fixedbugs/bug377.dir/two.go b/test/fixedbugs/bug377.dir/two.go index 8a5346ab72b..2a10812d56d 100644 --- a/test/fixedbugs/bug377.dir/two.go +++ b/test/fixedbugs/bug377.dir/two.go @@ -1,3 +1,7 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + package two import _ "./one" diff --git a/test/fixedbugs/bug382.go b/test/fixedbugs/bug382.go index 6212fbf507c..3f5d05cd5ff 100644 --- a/test/fixedbugs/bug382.go +++ b/test/fixedbugs/bug382.go @@ -1,5 +1,9 @@ // $G $D/$F.dir/pkg.go && $G $D/$F.go || echo "Bug 382" +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file + // Issue 2529 package main