mirror of
https://github.com/golang/go
synced 2024-09-06 00:19:45 +00:00
test/fixedbugs/bug302: fix test on windows.
Change-Id: I74c2578d1620b37a6486eca00a774b9a736a8899 Reviewed-on: https://go-review.googlesource.com/1222 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
e67a39ed08
commit
e8f13700b7
|
@ -5,8 +5,8 @@
|
|||
package main
|
||||
|
||||
// Check that the export information is correct in p.6.
|
||||
import _ "./p"
|
||||
import _ "p"
|
||||
|
||||
// Check that it's still correct in pp.a (which contains p.6).
|
||||
import _ "./pp"
|
||||
import _ "pp"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ func main() {
|
|||
|
||||
run("go", "tool", a+"g", filepath.Join("fixedbugs", "bug302.dir", "p.go"))
|
||||
run("go", "tool", "pack", "grc", "pp.a", "p."+a)
|
||||
run("go", "tool", a+"g", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
|
||||
run("go", "tool", a+"g", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
|
||||
os.Remove("p."+a)
|
||||
os.Remove("pp.a")
|
||||
os.Remove("main."+a)
|
||||
|
|
Loading…
Reference in a new issue