glib/gio/tests/test.gresource.xml
Philip Withnall 353020928c gresource: Fix handling of zero-sized compressed resource entries
The zlib `GConverter` can’t handle an output buffer of size 0.

Add tests.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #1560
2020-11-14 19:03:18 +00:00

14 lines
413 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource>
<file >test-generated.txt</file>
<file compressed="true">test1.txt</file>
<file preprocess="xml-stripblanks">test.gresource.xml</file>
<file compressed="true">empty.txt</file>
</gresource>
<gresource prefix="/a_prefix">
<file alias="test2-alias.txt">test2.txt</file>
<file>test2.txt</file>
</gresource>
</gresources>