Displaying 20 results from an estimated 200 matches similar to: "[PATCH] tests/regressions: remove C part of rhbz1044014"
2015 Oct 14
0
[PATCH 2/2] lib: Add comment and regression test for case where main process has large heap.
Thanks: Dan Berrangé for identifying the problem.
---
.gitignore | 1 +
src/command.c | 11 +++++++
tests/regressions/Makefile.am | 13 +++++++-
tests/regressions/test-big-heap.c | 69 +++++++++++++++++++++++++++++++++++++++
4 files changed, 93 insertions(+), 1 deletion(-)
create mode 100644 tests/regressions/test-big-heap.c
diff --git
2014 Oct 22
0
[PATCH] tests/regressions: Remove executable stack test.
From: "Richard W.M. Jones" <rjones@redhat.com>
It's not our job to worry about downstream packaging issues ...
---
tests/regressions/Makefile.am | 6 +--
tests/regressions/test-noexec-stack.pl | 84 ----------------------------------
2 files changed, 2 insertions(+), 88 deletions(-)
delete mode 100755 tests/regressions/test-noexec-stack.pl
diff --git
2015 Oct 19
1
[PATCH] Add a regression test for RHBZ#1011907 / RHBZ#1165785
Test case adapted from Hu Zhang's RHBZ#1242853, thanks.
---
tests/regressions/Makefile.am | 2 +
tests/regressions/rhbz1011907-1165785.sh | 66 ++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
create mode 100755 tests/regressions/rhbz1011907-1165785.sh
diff --git a/tests/regressions/Makefile.am b/tests/regressions/Makefile.am
index c4f60ae..026987b 100644
---
2014 Oct 05
0
[PATCH v5 5/7] tests/regressions: Remove executable stack test.
It's not our job to worry about downstream packaging issues ...
---
generator/tests.ml | 1 -
tests/regressions/Makefile.am | 3 +-
tests/regressions/test-noexec-stack.pl | 78 ----------------------------------
tests/regressions/tests.mk | 3 +-
4 files changed, 2 insertions(+), 83 deletions(-)
delete mode 100755
2017 Jun 15
0
[PATCH v6 11/41] utils: Rename ‘guestfs-internal-frontend.h’ to ‘utils.h’.
---
.gitignore | 2 +-
builder/index-validate.c | 2 +-
builder/pxzcat-c.c | 2 +-
common/edit/file-edit.c | 2 +-
common/mlutils/c_utils-c.c | 2 +-
common/options/options.h | 2 +-
common/options/uri.c
2017 Jun 19
0
[PATCH v7 12/13] utils: Rename ‘guestfs-internal-frontend.h’ to ‘guestfs-utils.h’.
The reason it's not just ‘utils.h’ is because Pino is worried that we
might pick up /usr/include/utils.h from a rogue library.
---
.gitignore | 2 +-
builder/index-validate.c | 2 +-
builder/pxzcat-c.c | 2 +-
common/edit/file-edit.c
2016 Mar 22
1
[PATCH] Reduce GUESTFS_PRIVATE usage
Remove the GUESTFS_PRIVATE=1 define for some tools and tests which don't
really use any private API.
---
align/Makefile.am | 1 -
df/Makefile.am | 1 -
tests/protocol/Makefile.am | 1 -
tests/qemu/Makefile.am | 2 --
tests/regressions/Makefile.am | 6 ++----
5 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/align/Makefile.am
2015 Oct 14
2
[PATCH 1/2] lib: info: Move common code for setting child rlimits.
This is almost just refactoring, but I also set the memory
limit to really 1 GB, and not 1×10⁹.
---
src/info.c | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/src/info.c b/src/info.c
index d7f45f0..616ef50 100644
--- a/src/info.c
+++ b/src/info.c
@@ -56,6 +56,7 @@ static yajl_val get_json_output (guestfs_h *g, const char *filename);
static char
2015 Aug 06
0
[PATCH v4 05/17] tests/regressions: Remove executable stack test.
It's not our job to worry about downstream packaging issues ...
---
generator/tests.ml | 1 -
tests/regressions/Makefile.am | 3 +-
tests/regressions/test-noexec-stack.pl | 78 ----------------------------------
tests/regressions/tests.mk | 3 +-
4 files changed, 2 insertions(+), 83 deletions(-)
delete mode 100755
2014 Dec 17
3
[PATCH 0/3] Allow environment variables to have boolean values.
https://bugzilla.redhat.com/show_bug.cgi?id=1175196
Currently if you write something like LIBGUESTFS_DEBUG=0 or
LIBGUESTFS_DEBUG=true then it doesn't do what you probably expect.
This patch series fixes that.
Rich.
2016 Nov 08
0
[PATCH 2/3] Split internal stuff out of guestfs.h
Create a new guestfs-private.h header, and move there the definitions of
all the actions with visibility VInternal, and all the private structs:
they are not meant to be used, not even seen, outside of the library.
Include the new header where needed, which means also a couple of places
outside the library (but they are tests, so it is acceptable for now).
The result of this is mostly motion of
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
Wherever we had code which did:
if (something_bad) {
perror (...);
exit (EXIT_FAILURE);
}
replace this with use of the error(3) function:
if (something_bad)
error (EXIT_FAILURE, errno, ...);
The error(3) function is supplied by glibc, or by gnulib on platforms
which don't have it, and is much more flexible than perror(3). Since
we already use error(3), there seems to be
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
Only in end-user messages and documentation. This change was done
mostly mechanically using the Perl script attached below.
I also changed don't -> don’t etc and made some other simple fixes.
See also: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
----------
#!/usr/bin/perl -w
use strict;
use Locale::PO;
my $re = qr{'([-\w%.,=?*/]+)'};
my %files = ();
foreach my $filename
2014 Oct 05
12
[PATCH v5 0/7] tests: Introduce test harness for running tests.
Since v4:
- More tests have been converted.
- Testing local guests fixed.
- Drop no-exec-stack test.
2017 Jan 25
0
[PATCH v2 2/7] lib: Move utilities to new directory common/utils.
Just code motion.
This commit makes it clearer what is a utility and what is part of the
library. It also makes it clear that we should rename:
guestfs-internal-frontend.h -> utils.h
guestfs-internal-frontend-cleanups.h -> cleanups.h (?)
but this commit does not make that change.
---
.gitignore | 10 ++---
Makefile.am
2014 Oct 23
10
[PATCH v6 00/10] tests: Introduce test harness for running tests.
For v6:
This is mainly just a rebase, but I have also added tests in the
ocaml/ language bindings directory, and for all the OCaml-written virt
tools.
Rich.
2014 Oct 24
10
[PATCH v7 00/10] tests: Introduce test harness for running tests.
v7:
The only changes since v6 are those suggested by Pino in the review
of v5.
2014 Oct 04
4
[PATCH v4 0/4] tests: Introduce test harness for running tests.
This converts more of the tests (basically everything under tests/) to
use the test harness, revealing some problems which have subsequently
been fixed.
Rich.
2017 Jun 15
0
[PATCH v6 05/41] utils: Split out cleanups into common/cleanups.
Those cleanups which only depend on libc, gnulib or libxml2 are split
out into a separate common/cleanups directory.
---
.gitignore | 3 +-
Makefile.am | 4 +-
align/Makefile.am | 2 +
builder/Makefile.am | 4 +
cat/Makefile.am
2014 Sep 16
5
[PATCH 0/3] tests: Introduce test harness for running tests.
These are my thoughts on adding a test harness to run tests instead of
using automake. The aim of this exercise is to allow us to run the
full test suite on an installed copy of libguestfs. Another aim is to
allow us to work around all the limitations and problems of automake.
The first patch makes an observation that since the ./run script sets
up $PATH to contain all the directories