[Libosinfo] [PATCH] tmp

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Aug 1 10:27:18 UTC 2014


On Fri, Aug 1, 2014 at 12:20 PM, Zeeshan Ali (Khattak)
<zeeshanak at gnome.org> wrote:
> ---

Really sorry for this. I keep forgetting git-send-email doesn't take
single patches.

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



-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/




More information about the Libosinfo mailing list