OSDN Git Service

tests/qtest: Use g_setenv()
authorBin Meng <bin.meng@windriver.com>
Wed, 24 Aug 2022 09:39:39 +0000 (17:39 +0800)
committerThomas Huth <thuth@redhat.com>
Thu, 25 Aug 2022 13:16:13 +0000 (15:16 +0200)
commita47ea61de593a8243a66caba9d436040ecae25d5
tree8a7983c569871c1a78b89e49797c7ed217396791
parent9a99f964b152f8095949bbddca7841744ad418da
tests/qtest: Use g_setenv()

Windows does not provide a setenv() API, but glib does.
Replace setenv() call with the glib version.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220824094029.1634519-2-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/generic_fuzz.c
tests/qtest/libqtest.c