lib/replace tests: prevent GCC fretting over snprintf sizes
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 1 Nov 2016 00:26:11 +0000 (13:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Feb 2017 04:09:08 +0000 (05:09 +0100)
commitb02d636e0b1c43821a83297f51599bb03b5858b3
treea4b4b52d53d5797981d9dc999a8daaa182b90627
parent1a330443c64f237d7f0096f91880b6e358a93bf7
lib/replace tests: prevent GCC fretting over snprintf sizes

These tests deliberately use snprintf for truncating strings, which is
fine for tests. This has the effect of leaving the warning in place
but preventing it from becoming a fatal error.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/wscript