tests: avoid build warning

Check all the functions that return a Result.
This commit is contained in:
Dirk-Jan C. Binnema
2026-08-17 21:25:54 +03:00
committed by Seth Ladygo
parent d5a48e99f7
commit bdf2c8b6b1
6 changed files with 23 additions and 21 deletions

View File

@ -80,7 +80,7 @@ test_add_ok()
}
remove_directory(testhome);
assert_valid_result(remove_directory(testhome));
}
static void
@ -108,7 +108,7 @@ test_add_fail()
g_assert_cmpuint(res->exit_code,!=,0);
}
remove_directory(testhome);
assert_valid_result(remove_directory(testhome));
}

View File

@ -77,7 +77,7 @@ test_remove_ok()
g_assert_cmpuint(::access(testmsg.c_str(), F_OK), ==, 0);
}
remove_directory(testhome);
assert_valid_result(remove_directory(testhome));
}