summaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-03-13 20:26:57 -0600
committerMarge Bot <marge-bot@gnome.org>2023-03-14 16:46:06 +0000
commit21f0d6394064c9a4cbef98cadd961d7a2aeb1466 (patch)
tree0fc0d323fbcf7ab6dad7a4ca9a2fe305be06dca1 /tests/fixtures
parentd79d2ed5ed25c64abe47e7d279a21f7adcf1e0d0 (diff)
downloadlibrsvg-21f0d6394064c9a4cbef98cadd961d7a2aeb1466.tar.gz
Add a test for xinclude recursion across two files
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/810>
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/crash/bug942-xinclude-mutual-recursion-2.svg3
-rw-r--r--tests/fixtures/crash/bug942-xinclude-mutual-recursion.svg3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/fixtures/crash/bug942-xinclude-mutual-recursion-2.svg b/tests/fixtures/crash/bug942-xinclude-mutual-recursion-2.svg
new file mode 100644
index 00000000..4445f6c4
--- /dev/null
+++ b/tests/fixtures/crash/bug942-xinclude-mutual-recursion-2.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include parse="xml" href="bug942-xinclude-mutual-recursion.svg"/>
+</svg>
diff --git a/tests/fixtures/crash/bug942-xinclude-mutual-recursion.svg b/tests/fixtures/crash/bug942-xinclude-mutual-recursion.svg
new file mode 100644
index 00000000..4f7fb734
--- /dev/null
+++ b/tests/fixtures/crash/bug942-xinclude-mutual-recursion.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include parse="xml" href="bug942-xinclude-mutual-recursion-2.svg"/>
+</svg>