line-reader: Avoid undefined behavior in printf utility in test.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 3 Jun 2022 22:01:19 +0000 (15:01 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 3 Jun 2022 22:01:24 +0000 (15:01 -0700)
commit88040421bb6cbf3f225280f1efaf07661ac2e9bf
treeaeee27f228975e8dde32731df7f17b0f5e79135c
parentb81922824d04dfc85e777827c3f978450dc62594
line-reader: Avoid undefined behavior in printf utility in test.

The test used
    printf '\"'
assuming that it would print just a double-quote, but on at least one
system it printed a backslash followed by a double-quote.  This commit
changes it to
    print '"'
which should be reliable everywhere.

Thanks to Michael Orlitzky <michael@orlitzky.com> for reporting this bug.
tests/libpspp/line-reader.at