mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Adapt to recent MLS changes
g_file_query_info returns non-NULL more often now.
This commit is contained in:
@@ -702,10 +702,7 @@ do_copy_move (GFile * root, struct StructureItem item, const char *target_dir,
|
||||
(extra_flags == TEST_TARGET_IS_FILE))
|
||||
{
|
||||
g_assert_cmpint (res, ==, FALSE);
|
||||
if (item.file_type == G_FILE_TYPE_DIRECTORY)
|
||||
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE);
|
||||
else
|
||||
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_NOT_DIRECTORY);
|
||||
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_NOT_DIRECTORY);
|
||||
}
|
||||
/* source file is directory */
|
||||
else if ((item.extra_flags & TEST_COPY_ERROR_RECURSE) ==
|
||||
|
Reference in New Issue
Block a user