commit:     edb3e60f24f6b1e531c3a28226317da6de5dbfd5
Author:     Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Thu May  5 22:39:46 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Thu May  5 22:57:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=edb3e60f

xml-test/missing-elements: test for missing mandatory elements

Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu>

 xml-test/missing-elements/metadata.xml                | 17 +++++++++++++++++
 xml-test/missing-elements/missing-elements-0.1.ebuild | 11 +++++++++++
 2 files changed, 28 insertions(+)

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-b...@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"

Reply via email to