search for: relaxng

Displaying 20 results from an estimated 32 matches for "relaxng".

Did you mean: relaxing
2019 Dec 16
0
[PATCH 2/2] tests: switch to config.sh for xmllint
....in +++ b/inspector/test-virt-inspector-luks.sh @@ -35,7 +35,7 @@ if [ -s "$f" ]; then echo FEDORA | $VG virt-inspector --keys-from-stdin --format=raw -a "$f" > "actual-$b.xml" # Check the generated output validate the schema. - @XMLLINT@ --noout --relaxng "$srcdir/virt-inspector.rng" "actual-$b.xml" + $XMLLINT --noout --relaxng "$srcdir/virt-inspector.rng" "actual-$b.xml" # This 'diff' command will fail (because of -e option) if there # are any differences. diff -ur $diff_ignore &quot...
2019 Dec 16
3
[PATCH 0/2] tests: simpler way to use configure results
Add a single shell script to hold results of configure. Pino Toscano (2): build: add an empty config.sh tests: switch to config.sh for xmllint .gitignore | 4 +--- config.sh.in | 22 +++++++++++++++++++ configure.ac | 7 +----- ...luks.sh.in => test-virt-inspector-luks.sh} | 2 +-
2017 Feb 24
1
[PATCH] inspector: validate resulting XML files
...uests/{debian,fedora,ubuntu,archlinux,coreos,window if [ -s "$f" ]; then b=$(basename "$f" .xml) $VG virt-inspector --format=raw -a "$f" > "actual-$b.xml" + # Check the generated output validate the schema. + xmllint --noout --relaxng $srcdir/virt-inspector.rng "actual-$b.xml" # This 'diff' command will fail (because of -e option) if there # are any differences. diff -ur $diff_ignore "expected-$b.xml" "actual-$b.xml" -- 2.9.3
2013 Jan 17
5
A few patches needed for libguestfs 1.20+ on current Debian systems
Here's what I needed to build and run 1.20 on Debian/unstable. Perhaps the libcap2 dependency in the packagelist should only be added if libcap has actually been used in building guestfsd...
2006 Apr 25
2
DateTime format YYYY-MM-DDTHH:MM:SSZ ????
Hi all - Implementing my first web service with rails and trying things out using the "/controller/invoke" interface. Mostly works fine. But I have a function that takes a datetime and returns all rows that are newer than that. According to the log the SQL it''s generating is this: SELECT * FROM xxxx WHERE (created_at >= ''2006-04-25T13:18:31Z'') I have
2015 Mar 10
1
Issues with XML validation after upgrade to 1.2.12
...d guest definitions are now invalid: error: Failed to start domain XXXX error: internal error: Cannot instantiate filter due to unresolvable variables or unavailable list elements: DHCPSERVER We looked into this, and found that it's the XML validation that's failing: # xmllint --noout --relaxng "/share/libvirt/schemas/domain.rng" XXXX.xml --recover Relax-NG validity error : Extra element devices in interleave test.xml:1: element domain: Relax-NG validity error : Element domain failed to validate content test.xml fails to validate And, a minimal domain XML to reproduce it (th...
2017 May 03
1
[PATCH v2] inspector: validate resulting XML files
...sts/{debian,fedora,ubuntu,archlinux,coreos,window if [ -s "$f" ]; then b=$(basename "$f" .xml) $VG virt-inspector --format=raw -a "$f" > "actual-$b.xml" + # Check the generated output validate the schema. + @XMLLINT@ --noout --relaxng "$srcdir/virt-inspector.rng" "actual-$b.xml" # This 'diff' command will fail (because of -e option) if there # are any differences. diff -ur $diff_ignore "expected-$b.xml" "actual-$b.xml" -- 2.9.3
2011 Oct 20
4
[PATCH 1/3] out-of-tree build: daemon
--- daemon/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/Makefile.am b/daemon/Makefile.am index e23ce86..af075d7 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -42,10 +42,10 @@ noinst_LIBRARIES = libprotocol.a libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing
2019 Mar 11
2
How to insert a dummy NIC
...Close, but requires extra permissions for accessing /dev/net/tun, and technically feels a little inferior to using a peerless network device like above. * TCP tunnel server. Even more inferior, does not require extra permissions but leaves even looser ends (listening sockets). Also, the RelaxNG grammal does not let me specify a model for this interface type, so maintaining bus order with respect to the virtio interfaces is impossible. A grammar bug? * Using a dummy VLAN in the bridge. This is what I temporarily settled for, but this requires global agreement and still technically...
2013 Apr 29
1
Java client error on Windows 7 64 bit for Libvirt on KVM
...h. py pushSAX.py pushSAXhtml.py error.py serialize.py validate.py tstURI.py cutnpas te.py xpathret.py xpath.py outbuf.py inbuf.py resolver.py regexp.py reader.py re ader2.py reader3.py reader4.py reader5.py reader6.py reader7.py reader8.py reade rnext.py walker.py nsdel.py ctxterror.py readererr.py relaxng.py schema.py threa d2.py sync.py tstLastError.py indexes.py dtdvalid.py tstmem.py '/share/doc/libxm l2-python-2.9.0/examples' /bin/install -c -m 644 validDTD.py validSchemas.py validRNG.py compareNodes.py xpathns.py xpathleak.py tst.xml valid.xml invalid.xml test.dtd '/share/doc/libxm...
2009 Feb 08
1
Upgrade Doc to DocBook 5.0?
...- DocBook 5.0 uses Relax NG Schemas. This is a far, far better specification language than either DTD or the W3C XML schema. It's also far stricter, so it will find errors in your DocBook markup that wouldn't be possible to find in markup written for earlier DocBook versions. http://relaxng.org/ - It's pretty easy to do certain kinds of customizations that would be quite difficult with earlier DocBook versions. It's not actually very hard to do the upgrade - there is a script available to do all the simple work; what must be done by hand isn't very hard. I just moved Th...
2019 Mar 11
0
Re: How to insert a dummy NIC
...*really* should update to something newer. If it's *not* that old, then you're just working with out of date documentation. > > * TCP tunnel server. Even more inferior, does not require extra > permissions but leaves even looser ends (listening sockets). Also, the > RelaxNG grammal does not let me specify a model for this interface > type, so maintaining bus order with respect to the virtio interfaces is > impossible. A grammar bug? > > * Using a dummy VLAN in the bridge. This is what I temporarily settled > for, but this requires global agr...
2019 Dec 17
5
[PATCH 0/3] Various dist/build fixes
Fix one dist issue, and various builddir!=srcdir issues, also with the patch proposed in the Debian bug #946594. Patch #3 applies also to the virt-v2v repository, and will be committed there too (with references to the libguestfs commit). Pino Toscano (3): inspector: ship the actual test script tests: fix srcdir references build: fix make implicit dependencies on ml/mli files
2010 May 12
2
[PATCH 0/2] Actually translate our Perl programs (RHBZ#559963).
We observed a while back that the Perl-based libguestfs tools were not being localized. In fact I've tracked this problem down to a regression some time ago and some subsequent changes we made. These two patches fix everything. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many
2023 May 19
3
[guestfs-tools PATCH 0/3] test "/dev/mapper/VG-LV" with "--key"
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2168506 This small set covers the new /dev/mapper/VG-LV "--key" ID format in the LUKS-on-LVM virt-inspector test. Thanks, Laszlo Laszlo Ersek (3): update common submodule inspector: rename VGs and LVs in LUKS-on-LVM test inspector: test /dev/mapper/VG-LV translation in LUKS-on-LVM test common
2014 Oct 21
3
Re: [PATCH v5 1/7] tests: Introduce test harness for running tests.
...@@ > export LANG=C > set -e > > +if ! "@XMLLINT@" --version >/dev/null 2>&1; then > + echo "$0: test skipped before xmllint is not installed" > + exit 77 > +fi > + > for f in $srcdir/example-*.xml; do > @XMLLINT@ --noout --relaxng $srcdir/virt-inspector.rng $f > done This bit could go in even now, I guess. > diff --git a/tests/guests/guest-aux/make-debian-img.sh b/tests/guests/guest-aux/make-debian-img.sh > index 95228ab..af251b4 100755 > --- a/tests/guests/guest-aux/make-debian-img.sh > +++ b/tests/guests/...
2018 Jul 25
4
[PATCH v2 0/4] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).
v2: - Changes as suggested by Pino in previous review.
2018 Jul 18
5
[PATCH 0/3] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).
[This email is either empty or too large to be displayed at this time]
2014 Sep 20
3
[PATCH v2 0/3] tests: Introduce test harness for running tests.
This has got to the stage where it actually works, both for running the tests in-tree and installed. The 'test-harness' script has become rather over-complex in the process however. Rich.
2014 Oct 03
0
[PATCH v3] tests: Introduce test harness for running tests.
...+++ b/inspector/test-xmllint.sh.in @@ -19,6 +19,11 @@ export LANG=C set -e +if ! "@XMLLINT@" --version >/dev/null 2>&1; then + echo "$0: test skipped before xmllint is not installed" + exit 77 +fi + for f in $srcdir/example-*.xml; do @XMLLINT@ --noout --relaxng $srcdir/virt-inspector.rng $f done diff --git a/inspector/tests.mk b/inspector/tests.mk new file mode 100644 index 0000000..55004db --- /dev/null +++ b/inspector/tests.mk @@ -0,0 +1,83 @@ +# libguestfs generated file +# WARNING: THIS FILE IS GENERATED FROM: +# generator/ *.ml +# ANY CHANGES YOU...