[SSSD] [PATCH] test_ipa_subdomains_server: Fix build with --coverage

Lukas Slebodnik lslebodn at redhat.com
Wed Jun 17 18:44:43 UTC 2015


On (17/06/15 15:32), Lukas Slebodnik wrote:
>ehlo,
>
>I was able to reproduce failed build in covergae phase on local machine.
>
>It seems that gcc did some optimization and
>used execve instead of execle when the code was
>instrumented for coverage analysis.
>
>So the exec* function was not wrapped and it tried to call
>real binary ipa-getkeytab. Obviously it failed.
>
>LS

>From 727d2dae8b65697269bd2e43adeb06500d65ac11 Mon Sep 17 00:00:00 2001
>From: Lukas Slebodnik <lslebodn at redhat.com>
>Date: Wed, 17 Jun 2015 14:29:09 +0200
>Subject: [PATCH] test_ipa_subdomains_server: Fix build with --coverage
>
>It seems that gcc did some optimization and
>used execve instead of execle when the code was
>instrumented for coverage analysis.
>
>So the exec* function was not wrapped and it tried to call
>real binary ipa-getkeytab

           __ _       _   _    _    ____ _  __
 ___  ___ / _| |     | \ | |  / \  / ___| |/ /
/ __|/ _ \ |_| |_____|  \| | / _ \| |   | ' /
\__ \  __/  _| |_____| |\  |/ ___ \ |___| . \
|___/\___|_| |_|     |_| \_/_/   \_\____|_|\_\

It still fails on rhel6

LS



More information about the sssd-devel mailing list