add test case for unterminated """ string
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 5 Jun 2009 20:10:08 +0000 (16:10 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 5 Jun 2009 20:10:08 +0000 (16:10 -0400)
commit763f4b91da9bb8701b3000a1290a1d5f22850551
treea5e633088796935815611d5493e9b41ab84c2732
parent1d57a21c987a5e970df01efe10acdf69982c2d61
add test case for unterminated """ string

A directive that contains an unterminated """ string should not
cause each word of the string to be treated as a bare word. Instead,
the directive should fail to parse.

There are two tests. One just checks that a complete directive
containing such a string fails to parse. The other checks for a case
where a directive ends with a very long unterminated """ string,
and the directive is itself not closed. While this test won't fail,
it does trigger a nasty perl warning.
t/preprocess.t