A few fixes for the test_write_read_pipes() system test.
Authored by: bugman 2009-09-10
Parent: [r9497]
Child: [r9499]