]> Cypherpunks repositories - gostls13.git/commit
test/fixedbugs/bug243.go: instead of closing stdout,
authorVinu Rajashekhar <vinutheraj@gmail.com>
Mon, 12 Jul 2010 20:17:32 +0000 (13:17 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 12 Jul 2010 20:17:32 +0000 (13:17 -0700)
commit89192ce4fefbd618d91823bd7c4deb7d45786d9c
treeb8de19c2d1c39a0ef0cf961ad63c10ba95fc190a
parentc28bd5445c5177d814056542927cf0491fb5f58a
test/fixedbugs/bug243.go: instead of closing stdout,
remove the print statements.

This change is because of the port of gccgo to RTEMS.
These tests use the GCC DejaGNU framework. In some cases,
the tests need to be run on qemu where the status code
cannot be sent back to DejaGNU, so it prints the exit status
by putting a wrapper around the exit and abort calls.

This testcase closes the stdout, and hence prohibits DejaGNU
from knowing the status in such cases, and causes this test
to be wrongly declared as a failure.

R=rsc, iant
CC=golang-dev
https://golang.org/cl/1792042
test/fixedbugs/bug243.go