The cmocka captures all signals so I was not able to reproduce the code path. But leaving the code in for future readers. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>