mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
7ed386a10b
This was one of the code paths not currently covered by unit tests, so let’s add a test for it. This tests what happens when a structurally valid GResource file, but with a corrupt entry for a compressed file, is loaded. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3465
8 lines
282 B
XML
8 lines
282 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gresources>
|
|
<gresource>
|
|
<!-- An arbitrary text file which is large enough to have a non-trivial compressed form -->
|
|
<file compressed="true" alias="test-corrupt-compression.txt">test.gresource.xml</file>
|
|
</gresource>
|
|
</gresources>
|