From: Rémy Oudompheng Date: Fri, 11 Jan 2013 21:05:46 +0000 (+0100) Subject: test: adapt old-style tests to new flag parsing. X-Git-Tag: go1.1rc2~1414 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ab1385ec95fe5eec367b8c40196a8962c1ca8ee5;p=gostls13.git test: adapt old-style tests to new flag parsing. The -I. syntax now needs a space to be recognized in the compiler. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7098046 --- diff --git a/test/safe/nousesafe.go b/test/safe/nousesafe.go index f61e7fe4f0..fcd25af315 100644 --- a/test/safe/nousesafe.go +++ b/test/safe/nousesafe.go @@ -1,4 +1,4 @@ -// $G $D/pkg.go && pack grc pkg.a pkg.$A 2> /dev/null && rm pkg.$A && errchk $G -I. -u $D/main.go +// $G $D/pkg.go && pack grc pkg.a pkg.$A 2> /dev/null && rm pkg.$A && errchk $G -I . -u $D/main.go // rm -f pkg.a // Copyright 2012 The Go Authors. All rights reserved. diff --git a/test/safe/usesafe.go b/test/safe/usesafe.go index 07c13c1c3a..5d0829e290 100644 --- a/test/safe/usesafe.go +++ b/test/safe/usesafe.go @@ -1,4 +1,4 @@ -// $G $D/pkg.go && pack grcS pkg.a pkg.$A 2> /dev/null && rm pkg.$A && $G -I. -u $D/main.go +// $G $D/pkg.go && pack grcS pkg.a pkg.$A 2> /dev/null && rm pkg.$A && $G -I . -u $D/main.go // rm -f pkg.a // Copyright 2012 The Go Authors. All rights reserved.