Closed
Description
by qwertymaniac:
What steps will reproduce the problem? 1. Checkout the source, set the environment vars properly. 2. Browse to src/ dir. 3. Run ./all.bash What is the expected output? What do you see instead? Build (Testing of log module, specifically) fails with the following message (tail): make[2]: Leaving directory `/home/hack/.go/src/pkg/json' PASS make[1]: Leaving directory `/home/hack/.go/src/pkg/json' cd log && make test make[1]: Entering directory `/home/hack/.go/src/pkg/log' gotest make[2]: Entering directory `/home/hack/.go/src/pkg/log' rm -f _test/log.a _gotest_.6 make[2]: Leaving directory `/home/hack/.go/src/pkg/log' make[2]: Entering directory `/home/hack/.go/src/pkg/log' 6g -o _gotest_.6 log.go log_test.go rm -f _test/log.a gopack grc _test/log.a _gotest_.6 make[2]: Leaving directory `/home/hack/.go/src/pkg/log' --- FAIL: log.TestAllLog log output should match "^/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "/home/hack/.go/src/pkg/log/log_test.go:60: hello 23 world" log output should match "^/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "/home/hack/.go/src/pkg/log/log_test.go:58: hello 23 world" log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] /[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "XXX2009/11/11 11:41:08.716400 /home/hack/.go/src/pkg/log/log_test.go:60: hello 23 world" log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] /[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "XXX2009/11/11 11:41:08.716556 /home/hack/.go/src/pkg/log/log_test.go:58: hello 23 world" FAIL make[1]: *** [test] Error 1 make[1]: Leaving directory `/home/hack/.go/src/pkg/log' make: *** [log.test] Error 2 What is your $GOOS? $GOARCH? linux/amd64 Which revision are you sync'ed to? (hg log -l 1) changeset: 3976:cf1b54c30bc1 tag: tip user: Russ Cox <[email protected]> date: Tue Nov 10 20:11:16 2009 -0800 summary: move release tag Please provide any additional information below.