aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-03-01 21:29:39 +0100
committerUlrich Müller <ulm@gentoo.org>2017-03-01 21:42:11 +0100
commitcf6dec915f7e66ae241fadb7f42710d01ed00171 (patch)
treed6e0adeaf8a40e7e35f03d1aadb6ba76e90758eb /ebuild-test/file-utf8/metadata.xml
parentebuild-test/file-empty: New test for empty file in FILESDIR. (diff)
downloadgen-b0rk-cf6dec915f7e66ae241fadb7f42710d01ed00171.tar.gz
gen-b0rk-cf6dec915f7e66ae241fadb7f42710d01ed00171.tar.bz2
gen-b0rk-cf6dec915f7e66ae241fadb7f42710d01ed00171.zip
ebuild-test/file-utf8: New test, ebuild in encoding other than utf-8.HEADmaster
This crashes repoman-2.3.1 (Python 3.4) with a UnicodeDecodeError.
Diffstat (limited to 'ebuild-test/file-utf8/metadata.xml')
-rw-r--r--ebuild-test/file-utf8/metadata.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/ebuild-test/file-utf8/metadata.xml b/ebuild-test/file-utf8/metadata.xml
new file mode 100644
index 0000000..da7c4a8
--- /dev/null
+++ b/ebuild-test/file-utf8/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+# $Id$
+
+This is the example metadata file.
+The root element of this file is <pkgmetadata>. Within this element a
+number of subelements are allowed, the most common being maintainer.
+
+For a full description look at:
+https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
+
+Before committing, please remove the comments from this file. They are
+not relevant for general metadata.xml files.
+-->
+<pkgmetadata>
+<maintainer type="person">
+ <email>exampledev@gentoo.org</email>
+ <description>Primary maintainer</description>
+</maintainer>
+<maintainer type="project">
+ <email>exampleproject@gentoo.org</email>
+ <name>Gentoo Example Project</name>
+</maintainer>
+<longdescription>Test for ???</longdescription>
+</pkgmetadata>