[PATCH 5/5] virrandommock: Drop virRandomGenerateWWN

Peter Krempa pkrempa at redhat.com
Wed Jul 19 10:27:23 UTC 2023


On Tue, Jul 18, 2023 at 17:27:38 +0200, Michal Privoznik wrote:
> After previous commit, there's no functional difference between
> real virRandomGenerateWWN() and the mocked version. Drop the mock
> then.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tests/virrandommock.c | 8 --------
>  1 file changed, 8 deletions(-)

Also adjust the following line, as this function isn't being mocked any
more:

src/util/virrandom.h:int virRandomGenerateWWN(char **wwn, const char *virt_type) G_NO_INLINE;

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list