search for: capitest

Displaying 20 results from an estimated 103 matches for "capitest".

Did you mean: capitests
2009 Aug 05
2
[PATCH] Add a test for an executable stack in libguestfs.so
--- capitests/Makefile.am | 4 ++- capitests/check-noexec-stack.pl | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletions(-) create mode 100755 capitests/check-noexec-stack.pl diff --git a/capitests/Makefile.am b/capitests/Makefile.am index 71928ec..08466ac...
2009 Aug 27
1
[PATCH 4/4] build: enable gcc warnings in capitests/ and ocaml/
...t the end, for the sake of future bisectors: [1/4] ocaml/guestfs_c.c avoid signed/unsigned-comparison warning [2/4] ocaml/guestfs_c.c: avoid warning about initialization discarding "const" [3/4] ocaml/guestfs_c.c: avoid warning about missing prototypes [4/4] build: enable gcc warnings in capitests/ and ocaml/ >From 1accb67720596bd946809d4032661f5d3adb7a26 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Thu, 27 Aug 2009 12:34:38 +0200 Subject: [PATCH libguestfs 1/4] ocaml/guestfs_c.c avoid signed/unsigned-comparison warning * ocaml/guestfs_c.c (ocaml_gu...
2011 Dec 01
1
[PATCH] libguestfs: Added gnulib includes from builddir, as suggested by the Gnulib documentation
Since some modules (`getopt', for example) may copy files into the build directory, `top_builddir/lib' is needed as well as `top_srcdir/lib'. -- GNU Gnulib manual, section 2.2 Initial import --- capitests/Makefile.am | 1 + daemon/Makefile.am | 2 +- src/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/capitests/Makefile.am b/capitests/Makefile.am index cb9188e..d32b7fc 100644 --- a/capitests/Makefile.am +++ b/capitests/Makefile.am @@ -129,6 +129,...
2009 Nov 19
5
Fix various build dependency problems
Patch 1/5 is a repost. Only change is title update. These fix parallel make on my machine, and additionally make building from subdirectories more correct.
2009 Nov 18
1
[PATCH] Fix dependencies on generator.ml
...nd therefore generator.ml, despite not being directly created by it. This caused them to be recreated every time generator.ml ran rather than only when src/guestfs_protocol.x was updated, which cascaded into a daemon and therefore appliance update. --- Makefile.am | 15 +++++++++++++-- capitests/Makefile.am | 12 ++++++++++-- daemon/Makefile.am | 26 +++++++++++++++++++++----- fish/Makefile.am | 24 ++++++++++++++++-------- haskell/Makefile.am | 15 ++++++++++++++- java/Makefile.am | 8 ++++++++ ocaml/Makefile.am | 16 +++++++++++++--- perl/Makefile.am...
2009 Nov 19
3
Fix parallel make (v3)
This new series condenses all of the previously posted patches into new patch 1/2. The second patch is a new fix for parallel build in the haskell directory.
2009 Aug 19
1
[PATCH] tests: Conditionally skip UUID tests.
...<rjones at redhat.com> Date: Wed, 19 Aug 2009 14:01:13 +0100 Subject: [PATCH] tests: Conditionally skip UUID tests. More tests introduced which break with old e2fsprogs that didn't support UUIDs. Skip those tests when the old platform is detected. Also tidy up this code a little. --- capitests/Makefile.am | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/capitests/Makefile.am b/capitests/Makefile.am index 71928ec..a0cd44a 100644 --- a/capitests/Makefile.am +++ b/capitests/Makefile.am @@ -27,6 +27,9 @@ tests_SOURCES = tests.c tests_CFLAGS = -I$(top_srcdir)/...
2011 Jun 03
3
Unable to build appliance
...e finally hit an obstacle I don't know how to get around. The final output of "make": + febootstrap-run initramfs -- /sbin/depmod -a ABOUT-NLS BUGS COPYING COPYING.LIB ChangeLog GNUmakefile HACKING Makefile Makefile.am Makefile.in README TODO aclocal.m4 appliance bindtests build-aux capitests config.h config.h.in config.log config.status configure configure.ac contrib daemon examples fish fuse gnulib haskell html images initramfs inspector java libguestfs.pc libguestfs.pc.in libtool m4 maint.mk make-recipes.sh ocaml perl po python recipes regressions ruby src stamp-h1 subdir-rules.mkte...
2009 Aug 03
1
use gnulib, and begin to pass its "make syntax-check" tests
...e4633779965eb1bda726 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Mon, 3 Aug 2009 05:33:35 -0400 Subject: [PATCH 2/4] always include <config.h> * ocaml/guestfs_c.c: Include <config.h>. * examples/to-xml.c: Likewise. * examples/hello.c: Likewise. --- capitests/test-command.c | 1 + examples/hello.c | 1 + examples/to-xml.c | 1 + ocaml/guestfs_c.c | 1 + 4 files changed, 4 insertions(+), 0 deletions(-) diff --git a/capitests/test-command.c b/capitests/test-command.c index 1e29ee9..d451ebe 100644 --- a/capitests/test-co...
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
...(1\)/$1(EXIT_FAILURE)/' git grep -l '\<exit *(0)' \ | grep -vEf .x-sc_prohibit_magic_number_exit \ | xargs --no-run-if-empty \ perl -pi -e 's/\b(exit ?)\(0\)/$1(EXIT_SUCCESS)/' * .x-sc_prohibit_magic_number_exit: New file. --- .x-sc_prohibit_magic_number_exit | 2 + capitests/test-command.c | 6 ++-- daemon/guestfsd.c | 26 +++++++------- daemon/proto.c | 30 ++++++++-------- examples/hello.c | 12 +++--- examples/to-xml.c | 6 ++-- fish/fish.c | 74 ++++++++++++++...
2009 Aug 03
1
patch required for "make check"
...efile.am @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I m4 -I gnulib/m4 SUBDIRS = gnulib/lib src daemon appliance fish po examples images \ gnulib/tests capitests regressions test-tool I'll push it tomorrow morning, once I've confirmed.
2011 Dec 22
1
FYI: Changes to test directory names
...ical: * caution -> tests/qemu This directory contains tests of qemu (safety and liveness). 'make check' will be changed so that this directory is tested first. At present, 'make check' happens to build images/ first which makes it harder to track down qemu breakage. * capitests -> tests/c-api Tests of the C API. Arguably these tests could be moved into src/ but that directory has lots of files in it already. * regressions -> tests/regressions + tests/protocol + tests/luks + tests/... Split this directory into true reg...
2011 Jul 15
8
[PATCH 0/8] Implement user cancellation
...nt process groups. (2) The language bindings need to be signal safe. This turns out to be simple for OCaml, Perl and Ruby. However Python doesn't have any clear way to make functions signal safe, and so I did not implement a Python binding for now. (3) There is a multithreaded test program (capitests/test-user-cancel.c) which performs an upload and a download and attempts to cancel it at the same time. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. htt...
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...fb83 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Mon, 9 Nov 2009 14:30:11 +0100 Subject: [PATCH libguestfs 06/10] use STREQ, not strcmp: part 1 git grep -l 'strcmp *([^=]*== *0'|xargs \ perl -pi -e 's/\bstrcmp( *\(.*?\)) *== *0/STREQ$1/g' --- capitests/test-command.c | 22 +++++++++++----------- daemon/debug.c | 2 +- daemon/dir.c | 2 +- daemon/ext2.c | 6 +++--- daemon/file.c | 4 ++-- daemon/guestfsd.c | 2 +- daemon/ls.c | 2 +- daemon/mkfs.c |...
2010 Dec 24
0
builder-debian libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
....status: creating generator/Makefile config.status: creating src/Makefile config.status: creating fish/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating appliance/Makefile config.status: creating images/Makefile config.status: creating capitests/Makefile config.status: creating regressions/Makefile config.status: creating test-tool/Makefile config.status: creating ocaml/Makefile config.status: creating ocaml/examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examp...
2011 Jan 07
0
builder-debian libguestfs success 7e1114445e713c4a15f3f2cede5842044de1735a
....status: creating generator/Makefile config.status: creating src/Makefile config.status: creating fish/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating appliance/Makefile config.status: creating images/Makefile config.status: creating capitests/Makefile config.status: creating regressions/Makefile config.status: creating test-tool/Makefile config.status: creating ocaml/Makefile config.status: creating ocaml/examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examp...
2010 Dec 24
1
builder-ubuntu libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
....status: creating generator/Makefile config.status: creating src/Makefile config.status: creating fish/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating appliance/Makefile config.status: creating images/Makefile config.status: creating capitests/Makefile config.status: creating regressions/Makefile config.status: creating test-tool/Makefile config.status: creating ocaml/Makefile config.status: creating ocaml/examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examp...
2010 Dec 07
0
builder-debian libguestfs success 4b8f70d46dcfed1489c97f822e263b8615f21ea0
....status: creating generator/Makefile config.status: creating src/Makefile config.status: creating fish/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating appliance/Makefile config.status: creating images/Makefile config.status: creating capitests/Makefile config.status: creating regressions/Makefile config.status: creating test-tool/Makefile config.status: creating ocaml/Makefile config.status: creating ocaml/examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examp...
2010 Dec 08
0
builder-ubuntu libguestfs success 4e8ad174cadf9e75401b7fa0d380d4c84c29c9ec
....status: creating generator/Makefile config.status: creating src/Makefile config.status: creating fish/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating appliance/Makefile config.status: creating images/Makefile config.status: creating capitests/Makefile config.status: creating regressions/Makefile config.status: creating test-tool/Makefile config.status: creating ocaml/Makefile config.status: creating ocaml/examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examp...
2011 Jan 04
0
builder-debian libguestfs success 7ce627fce02eae8c7db36b4090fa0ce1bf69bf44
....status: creating generator/Makefile config.status: creating src/Makefile config.status: creating fish/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating appliance/Makefile config.status: creating images/Makefile config.status: creating capitests/Makefile config.status: creating regressions/Makefile config.status: creating test-tool/Makefile config.status: creating ocaml/Makefile config.status: creating ocaml/examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examp...