summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/script/test_devnull.txt
blob: 33071679a29fba84339032a4e18c7f53e8d9a9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
env GO111MODULE=off

# go test -c -o NUL
# should work (see golang.org/issue/28035).
cd x
go test -o=$devnull -c
! exists x.test$GOEXE

-- x/x_test.go --
package x_test
import (
    "testing"
)
func TestNUL(t *testing.T) {
}