> > > Find attached a small patch to improve tap tests, which also checks that >> psql really exited by checking that nothing is printed afterwards. >> > > Do you think the TAP tests would benefit from having the input described in a q(...) block rather than a string?
q(\if false \echo a \elif invalid \echo b \endif \echo c ) It's a lot more lines, obviously, but it might make what is being tested clearer.