New upstream version 2022.7
This commit is contained in:
commit
0a29322640
82 files changed
+2820
-2348
No files matched your search
@@ -67,8 +67,7 @@ _glnx_test_auto_temp_dir_leave (_GLnxTestAutoTempDir *dir)
|
||||
glnx_tmpdir_delete (&dir->temp_dir, NULL, &error);
|
||||
g_assert_no_error (error);
|
||||
|
||||
g_close (dir->old_cwd_fd, &error);
|
||||
g_assert_no_error (error);
|
||||
glnx_close_fd (&dir->old_cwd_fd);
|
||||
|
||||
g_free (dir->old_cwd);
|
||||
g_free (dir);
|
||||
|
||||
@@ -26,6 +26,13 @@
|
||||
#include <gio/gio.h>
|
||||
#include <string.h>
|
||||
|
||||
static void
|
||||
test_info (void)
|
||||
{
|
||||
g_info ("hello, world");
|
||||
g_info ("answer=%d", 42);
|
||||
}
|
||||
|
||||
static void
|
||||
test_inset (void)
|
||||
{
|
||||
@@ -104,6 +111,7 @@ test_hash_table_foreach (void)
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
g_test_add_func ("/info", test_info);
|
||||
g_test_add_func ("/inset", test_inset);
|
||||
g_test_add_func ("/hash_table_foreach", test_hash_table_foreach);
|
||||
return g_test_run();
|
||||
|
||||
Reference in new issue
Block a user