Use cmocka_set_message_output as test function for cmocka presence

(cherry picked from commit 0158c1a4)
19 jobs for 351-fix-with-cmocka=path-build-v9_11 in 12 minutes and 30 seconds (queued for 10 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #89610
amd64 docker linux

00:00:17

 
  Build
passed build:centos:centos6:amd64 #89611
amd64 docker linux

00:02:09

passed build:centos:centos7:amd64 #89612
amd64 docker linux

00:02:16

passed build:debian:sid:amd64 #89613
amd64 docker linux

00:01:35

passed build:debian:sid:i386 #89614
i386 docker linux

00:01:35

passed noassert:build:debian:sid:amd64 #89615
amd64 docker linux

00:01:37

 
  Test
passed docs:debian:sid:amd64 #89616
amd64 docker linux

00:00:48

passed install:debian:sid:amd64 #89625
amd64 docker linux

00:03:30

passed noassert:systemtest:debian:sid:amd64 #89627
amd64 docker linux

00:08:38

passed noassert:unittest:debian:sid:amd64 #89626
amd64 docker linux

00:01:03

passed systemtest:centos:centos6:amd64 #89621
amd64 docker linux

00:04:06

passed systemtest:centos:centos7:amd64 #89622
amd64 docker linux

00:04:49

passed systemtest:debian:sid:amd64 #89623
amd64 docker linux

00:05:25

passed systemtest:debian:sid:i386 #89624
i386 docker linux

00:09:06

passed unittest:centos:centos6:amd64 #89617
amd64 docker linux

00:01:06

passed unittest:centos:centos7:amd64 #89618
amd64 docker linux

00:01:02

passed unittest:debian:sid:amd64 #89619
amd64 docker linux

00:00:50

passed unittest:debian:sid:i386 #89680
linux docker i386

00:00:48

failed unittest:debian:sid:i386 #89620
i386 docker linux

00:01:01