1 # Tests Issue #9224
2 # The recursive updating was trying to walk to
3 # former dependencies, not current ones.
4
5 [!net] skip
6 [!exec:git] skip
7 env GO111MODULE=off
8
9 # Rewind
10 go get github.com/rsc/go-get-issue-9224-cmd
11 cd $GOPATH/src/github.com/rsc/go-get-issue-9224-lib
12 exec git reset --hard HEAD~
13 cd $GOPATH/src
14
15 # Run get
16 go get -u 'github.com/rsc/go-get-issue-9224-cmd'
17
18 # (Again with -d -u) Rewind
19 go get github.com/rsc/go-get-issue-9224-cmd
20 cd $GOPATH/src/github.com/rsc/go-get-issue-9224-lib
21 exec git reset --hard HEAD~
22 cd $GOPATH/src
23
24 # (Again with -d -u) Run get
25 go get -d -u 'github.com/rsc/go-get-issue-9224-cmd'
26
View as plain text