failtest: replay --failpath correctly on really failing opens.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Aug 2011 23:52:39 +0000 (09:22 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Aug 2011 23:52:39 +0000 (09:22 +0930)
commitadc9909e26f96eec2c6846aa4085551af59979cf
tree26e34fca47b93e848025b7bb174073b8ba429ccb
parent8c2259a20d1039d9ddfca3aa40c1309b19ec20e2
failtest: replay --failpath correctly on really failing opens.

When an open() call fails, we don't inject an error, but we didn't
apply this logic when replaying a failpath, with strange results.
ccan/failtest/failtest.c