summaryrefslogtreecommitdiff
path: root/tests/test-gpg-verify-result.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-gpg-verify-result.c')
-rw-r--r--tests/test-gpg-verify-result.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-gpg-verify-result.c b/tests/test-gpg-verify-result.c
index d49224ec..8485b888 100644
--- a/tests/test-gpg-verify-result.c
+++ b/tests/test-gpg-verify-result.c
@@ -78,7 +78,8 @@ test_fixture_setup (TestFixture *fixture,
* certificates for certain test cases. */
homedir = g_test_build_filename (G_TEST_DIST, "tests/gpg-verify-data", NULL);
- g_setenv ("GNUPGHOME", homedir, TRUE);
+ gboolean is_ok = g_setenv ("GNUPGHOME", homedir, TRUE);
+ g_assert (is_ok == TRUE);
result = g_initable_new (OSTREE_TYPE_GPG_VERIFY_RESULT,
NULL, &local_error, NULL);