Black Lives Matter. Support the Equal Justice Initiative.

Text file src/cmd/go/testdata/script/get_domain_root.txt

Documentation: cmd/go/testdata/script

     1  # Tests issue #9357
     2  # go get foo.io (not foo.io/subdir) was not working consistently.
     3  
     4  [!net] skip
     5  [!exec:git] skip
     6  env GO111MODULE=off
     7  
     8  # go-get-issue-9357.appspot.com is running
     9  # the code at github.com/rsc/go-get-issue-9357,
    10  # a trivial Go on App Engine app that serves a
    11  # <meta> tag for the domain root.
    12  go get -d go-get-issue-9357.appspot.com
    13  go get go-get-issue-9357.appspot.com
    14  go get -u go-get-issue-9357.appspot.com
    15  
    16  rm $GOPATH/src/go-get-issue-9357.appspot.com
    17  go get go-get-issue-9357.appspot.com
    18  
    19  rm $GOPATH/src/go-get-issue-9357.appspot.com
    20  go get -u go-get-issue-9357.appspot.com
    21  

View as plain text