[Libosinfo] [PATCH] tmp
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Fri Aug 1 10:20:54 UTC 2014
---
data/schemas/libosinfo.rng | 10 +++++-----
test/test-xml-validate | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
index e693674..69e2b13 100644
--- a/data/schemas/libosinfo.rng
+++ b/data/schemas/libosinfo.rng
@@ -597,11 +597,6 @@
</element>
</optional>
<optional>
- <element name='needs-internet'>
- <ref name='bool'/>
- </element>
- </optional>
- <optional>
<element name='can-pre-install-drivers'>
<ref name='bool'/>
</element>
@@ -624,6 +619,11 @@
<zeroOrMore>
<ref name='injection-method'/>
</zeroOrMore>
+ <optional>
+ <element name='needs-internet'>
+ <ref name='bool'/>
+ </element>
+ </optional>
<element name='template'>
<choice>
<group>
diff --git a/test/test-xml-validate b/test/test-xml-validate
index a2d20b4..e5d1eed 100755
--- a/test/test-xml-validate
+++ b/test/test-xml-validate
@@ -21,7 +21,7 @@ do
ret=$?
test_result $n $(basename $(dirname $xml))"/"$(basename $xml) $ret
- if test "$verbose" = "1" && test $ret != 0 ; then
+ if test $ret != 0 ; then
printf '%s\n' "$cmd" "$result"
fi
if test "$ret" != 0 ; then
--
1.9.3
More information about the Libosinfo
mailing list