mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-21 13:34:34 +03:00
Use a value based on OSTREE_MAX_METADATA_SIZE
This commit is contained in:
parent
4bac96a8c8
commit
99f6356b5b
@ -417,7 +417,7 @@ test_big_metadata (void)
|
||||
g_assert_no_error (error);
|
||||
g_assert (ret);
|
||||
|
||||
const size_t len = 20 * 1024 * 1024;
|
||||
const size_t len = OSTREE_MAX_METADATA_SIZE + 1;
|
||||
g_assert_cmpint (len, >, OSTREE_MAX_METADATA_SIZE);
|
||||
g_autofree char *large_buf = g_malloc (len);
|
||||
memset (large_buf, 0x42, len);
|
||||
|
Loading…
Reference in New Issue
Block a user