This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
sprintf(): add memory wrap tests
authorDavid Mitchell <davem@iabyn.com>
Tue, 9 May 2017 13:29:11 +0000 (14:29 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:10:59 +0000 (09:10 +0100)
commitd729f63cc94318c248eab95844cfbed5298a7ecd
tree5737b37e137e13d060f57ea67fa322240a1ef8d4
parentfe7ba591228c20c0840941f6994ce3055969d50f
sprintf(): add memory wrap tests

In various places Perl_sv_vcatpvfn_flags() does croak_memory_wrap()
(including a couple added by the previous commit to fix RT #131260),
but there don't appear to be any tests for them.

So this commit adds some tests.
t/op/sprintf2.t