test/qga: use G_TEST_DIR to locate os-release test file
commita85d09269bb1a7071d3ce0f2957e3ca9dba7c047
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 25 May 2022 14:41:35 +0000 (25 16:41 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 28 May 2022 09:42:56 +0000 (28 11:42 +0200)
treeebc4fe4c0ef64aea004395f5b81b7801f31103d9
parent561bfcb69dbd3ad055f9f7ff53f04213c09b51e3
test/qga: use G_TEST_DIR to locate os-release test file

This a more accurate way to lookup the test data, and will allow to move
the test in a subproject.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Message-Id: <20220525144140.591926-11-marcandre.lureau@redhat.com>
tests/unit/test-qga.c