Nikos Skalkotos
2014-Dec-02 17:11 UTC
[Libguestfs] [PATCH 1/5] Remove extra space in inspect-fs-unix.c
Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr> --- src/inspect-fs-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 01a59f1..f55e53b 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -58,8 +58,8 @@ COMPILE_REGEXP (re_scientific_linux, "Scientific Linux.*release (\\d+)\\.(\\d+)", 0) COMPILE_REGEXP (re_scientific_linux_no_minor, "Scientific Linux.*release (\\d+)", 0) - COMPILE_REGEXP (re_oracle_linux_old, - "Oracle Linux.*release (\\d+).*Update (\\d+)", 0) +COMPILE_REGEXP (re_oracle_linux_old, + "Oracle Linux.*release (\\d+).*Update (\\d+)", 0) COMPILE_REGEXP (re_oracle_linux, "Oracle Linux.*release (\\d+)\\.(\\d+)", 0) COMPILE_REGEXP (re_oracle_linux_no_minor, "Oracle Linux.*release (\\d+)", 0) -- 2.1.3
Richard W.M. Jones
2014-Dec-02 23:53 UTC
Re: [Libguestfs] [PATCH 1/5] Remove extra space in inspect-fs-unix.c
On Tue, Dec 02, 2014 at 07:11:55PM +0200, Nikos Skalkotos wrote:> Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr> > --- > src/inspect-fs-unix.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c > index 01a59f1..f55e53b 100644 > --- a/src/inspect-fs-unix.c > +++ b/src/inspect-fs-unix.c > @@ -58,8 +58,8 @@ COMPILE_REGEXP (re_scientific_linux, > "Scientific Linux.*release (\\d+)\\.(\\d+)", 0) > COMPILE_REGEXP (re_scientific_linux_no_minor, > "Scientific Linux.*release (\\d+)", 0) > - COMPILE_REGEXP (re_oracle_linux_old, > - "Oracle Linux.*release (\\d+).*Update (\\d+)", 0) > +COMPILE_REGEXP (re_oracle_linux_old, > + "Oracle Linux.*release (\\d+).*Update (\\d+)", 0) > COMPILE_REGEXP (re_oracle_linux, > "Oracle Linux.*release (\\d+)\\.(\\d+)", 0) > COMPILE_REGEXP (re_oracle_linux_no_minor, "Oracle Linux.*release (\\d+)", 0)I pushed this one. Unfortunately the rest fail the test suite: $ make -C tests/mountable make: Entering directory '/home/rjones/d/libguestfs/tests/mountable' make: Nothing to be done for 'all'. make: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' rjones@choo:~/d/libguestfs$ make -C tests/mountable check make: Entering directory '/home/rjones/d/libguestfs/tests/mountable' make test-internal-parse-mountable make[1]: Entering directory '/home/rjones/d/libguestfs/tests/mountable' make[1]: 'test-internal-parse-mountable' is up to date. make[1]: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' make check-TESTS make[1]: Entering directory '/home/rjones/d/libguestfs/tests/mountable' 2 seconds: ./test-internal-parse-mountable PASS: test-internal-parse-mountable /home/rjones/d/libguestfs/run --test ./test-mountable-inspect.sh libguestfs: error: mount: mount_stub: btrfsvol:btrfsvol:/dev/sda2/root/root: expecting a btrfs volume /home/rjones/d/libguestfs/tests/mountable/test-mountable-inspect.sh: error #1: unexpected output from inspect-get-mountpoints /home/rjones/d/libguestfs/run: command failed with exit code 1 FAIL: test-mountable-inspect.sh ==================1 of 2 tests failed ==================Makefile:1643: recipe for target 'check-TESTS' failed make[1]: *** [check-TESTS] Error 1 make[1]: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' Makefile:1766: recipe for target 'check-am' failed make: *** [check-am] Error 2 make: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Nikos Skalkotos
2014-Dec-03 12:10 UTC
Re: [Libguestfs] [synnefo-devel] Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
Hello, I've been trying to run the tests from master, before applying my patches and it's not not working. I always get this: # make -C tests/mountable check make: Entering directory `/root/src/libguestfs/tests/mountable' make test-internal-parse-mountable make[1]: Entering directory `/root/src/libguestfs/tests/mountable' make[1]: `test-internal-parse-mountable' is up to date. make[1]: Leaving directory `/root/src/libguestfs/tests/mountable' make check-TESTS make[1]: Entering directory `/root/src/libguestfs/tests/mountable' 24 seconds: ./test-internal-parse-mountable PASS: test-internal-parse-mountable /root/src/libguestfs/run --test ./test-mountable-inspect.sh libguestfs: error: qemu-img: test.qcow2: qemu-img exited with error status 1. To see full error messages you may need to enable debugging. See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs /root/src/libguestfs/run: command failed with exit code 1 FAIL: test-mountable-inspect.sh ==================1 of 2 tests failed ==================make[1]: *** [check-TESTS] Error 1 make[1]: Leaving directory `/root/src/libguestfs/tests/mountable' make: *** [check-am] Error 2 make: Leaving directory `/root/src/libguestfs/tests/mountable' I tried it on Debian Jessie and an updated Fedora 20 system. Any hints? Nikos On 03/12/14 01:53, Richard W.M. Jones wrote:> On Tue, Dec 02, 2014 at 07:11:55PM +0200, Nikos Skalkotos wrote: >> Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr> >> --- >> src/inspect-fs-unix.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c >> index 01a59f1..f55e53b 100644 >> --- a/src/inspect-fs-unix.c >> +++ b/src/inspect-fs-unix.c >> @@ -58,8 +58,8 @@ COMPILE_REGEXP (re_scientific_linux, >> "Scientific Linux.*release (\\d+)\\.(\\d+)", 0) >> COMPILE_REGEXP (re_scientific_linux_no_minor, >> "Scientific Linux.*release (\\d+)", 0) >> - COMPILE_REGEXP (re_oracle_linux_old, >> - "Oracle Linux.*release (\\d+).*Update (\\d+)", 0) >> +COMPILE_REGEXP (re_oracle_linux_old, >> + "Oracle Linux.*release (\\d+).*Update (\\d+)", 0) >> COMPILE_REGEXP (re_oracle_linux, >> "Oracle Linux.*release (\\d+)\\.(\\d+)", 0) >> COMPILE_REGEXP (re_oracle_linux_no_minor, "Oracle Linux.*release (\\d+)", 0) > I pushed this one. Unfortunately the rest fail the test suite: > > $ make -C tests/mountable > make: Entering directory '/home/rjones/d/libguestfs/tests/mountable' > make: Nothing to be done for 'all'. > make: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' > rjones@choo:~/d/libguestfs$ make -C tests/mountable check > make: Entering directory '/home/rjones/d/libguestfs/tests/mountable' > make test-internal-parse-mountable > make[1]: Entering directory '/home/rjones/d/libguestfs/tests/mountable' > make[1]: 'test-internal-parse-mountable' is up to date. > make[1]: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' > make check-TESTS > make[1]: Entering directory '/home/rjones/d/libguestfs/tests/mountable' > 2 seconds: ./test-internal-parse-mountable > PASS: test-internal-parse-mountable > /home/rjones/d/libguestfs/run --test ./test-mountable-inspect.sh > libguestfs: error: mount: mount_stub: btrfsvol:btrfsvol:/dev/sda2/root/root: expecting a btrfs volume > /home/rjones/d/libguestfs/tests/mountable/test-mountable-inspect.sh: error #1: unexpected output from inspect-get-mountpoints > /home/rjones/d/libguestfs/run: command failed with exit code 1 > FAIL: test-mountable-inspect.sh > ==================> 1 of 2 tests failed > ==================> Makefile:1643: recipe for target 'check-TESTS' failed > make[1]: *** [check-TESTS] Error 1 > make[1]: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' > Makefile:1766: recipe for target 'check-am' failed > make: *** [check-am] Error 2 > make: Leaving directory '/home/rjones/d/libguestfs/tests/mountable' > > Rich. >
Seemingly Similar Threads
- Re: [synnefo-devel] Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
- Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
- [PATCH] lib: Add COMPILE_REGEXP macro to hide regexp constructors/destructors.
- [PATCH 0/2] src: introduce an helper version struct
- [PATCH v2 0/2] src: introduce an helper version struct