diff options
author | 2016-05-05 19:24:47 -0400 | |
---|---|---|
committer | 2016-05-05 23:05:36 -0700 | |
commit | 21391fe9f0c38c21661580d5005979ad96562004 (patch) | |
tree | d5c1ad91ef21a1ab38bc9a45390276d9d17dfa23 | |
parent | xml-test/invalid-attributes: test for invalid and disallowed attributes (diff) | |
download | gen-b0rk-21391fe9f0c38c21661580d5005979ad96562004.tar.gz gen-b0rk-21391fe9f0c38c21661580d5005979ad96562004.tar.bz2 gen-b0rk-21391fe9f0c38c21661580d5005979ad96562004.zip |
xml-test/missing-elements: test for missing mandatory elements
Signed-off-by: Göktürk Yüksek <gokturk@binghamton.edu>
-rw-r--r-- | xml-test/missing-elements/metadata.xml | 17 | ||||
-rw-r--r-- | xml-test/missing-elements/missing-elements-0.1.ebuild | 11 |
2 files changed, 28 insertions, 0 deletions
diff --git a/xml-test/missing-elements/metadata.xml b/xml-test/missing-elements/metadata.xml new file mode 100644 index 0000000..b46a340 --- /dev/null +++ b/xml-test/missing-elements/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + Tests for mandatory elements + </longdescription> + <!-- Missing element <email> --> + <maintainer type='person'> + <name>Gen B0rk</name> + </maintainer> + <upstream> + <!-- Missing element <name> --> + <maintainer> + <email>gen-b0rk@gentoo.org</email> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/xml-test/missing-elements/missing-elements-0.1.ebuild b/xml-test/missing-elements/missing-elements-0.1.ebuild new file mode 100644 index 0000000..93648c3 --- /dev/null +++ b/xml-test/missing-elements/missing-elements-0.1.ebuild @@ -0,0 +1,11 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Missing various mandatory elements in the metadata" +HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68" +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64" |