Fix test failure introduced in r187271 by enabling pipefail.