Make sure that we check that a target returns an error if we try to compare and write too much.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>