Skip to content
Snippets Groups Projects
Commit c926b2ce authored by Thomas Guillem's avatar Thomas Guillem
Browse files

test: media: don't check directory size

Fixes #26367
parent b872ee14
No related branches found
No related tags found
1 merge request!1037test: media: don't check directory size
Pipeline #169584 passed with stage
in 14 minutes and 44 seconds
......@@ -244,10 +244,8 @@ static void subitem_added(const libvlc_event_t *event, void *user_data)
ret = libvlc_media_get_stat(m, libvlc_media_stat_size, &value);
assert(ret == 1);
/* All files size are 0, directory size is either 4096 or 0 */
if (libvlc_media_get_type(m) == libvlc_media_type_directory)
assert(value == 4096 || value == 0);
else
/* All files size are 0, directory size depends on the FS. */
if (libvlc_media_get_type(m) != libvlc_media_type_directory)
assert(value == 0);
ret = libvlc_media_get_stat(m, libvlc_media_stat_mtime, &value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment