[PATCH] tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux