Displaying 20 results from an estimated 30 matches for "test_fus".
Did you mean:
test_fun
2014 Sep 22
0
[PATCH] fuse: Enable futimens test (RHBZ#1144766).
---
fuse/test-fuse.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/fuse/test-fuse.c b/fuse/test-fuse.c
index 2876dc4..1e18a75 100644
--- a/fuse/test-fuse.c
+++ b/fuse/test-fuse.c
@@ -249,9 +249,7 @@ test_fuse (void)
unsigned u, u1;
int fd;
struct timeval tv[2];
-#if 0
struct timespec ts[2];
-#endif
acl_t acl;
char *acl_text;
@@ -574,8 +572,6 @@ test_fuse (void)
return -1;
}
-#if 0
- /* Does not work! See https://bugzilla.redhat.com/show_bug.cgi?id=1144766 */
STAGE (&qu...
2015 May 14
1
[PATCH] When calling getline first time, initialize length to zero.
...(guestfs_h *g,
size_t i;
char *prompt;
char *reply = NULL;
- size_t allocsize;
+ size_t allocsize = 0;
char *pass;
ssize_t len;
int r;
diff --git a/fuse/test-fuse.c b/fuse/test-fuse.c
index 84d58e8..6e91d71 100644
--- a/fuse/test-fuse.c
+++ b/fuse/test-fuse.c
@@ -250,7 +250,7 @@ test_fuse (void)
fflush (stdout)
FILE *fp;
char *line = NULL;
- size_t len;
+ size_t len = 0;
struct stat statbuf;
char buf[128];
ssize_t r;
diff --git a/p2v/main.c b/p2v/main.c
index 15628ba..1f8370b 100644
--- a/p2v/main.c
+++ b/p2v/main.c
@@ -306,7 +306,7 @@ partition_parent (dev_t pa...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...- secs) / 86400);
break;
}
}
else {
- time_t t = (time_t) i;
+ time_t t = (time_t) secs;
char buf[64];
struct tm *tm;
diff --git a/fuse/test-fuse.c b/fuse/test-fuse.c
index dda6fde..2876dc4 100644
--- a/fuse/test-fuse.c
+++ b/fuse/test-fuse.c
@@ -247,9 +247,9 @@ test_fuse (void)
char buf[128];
ssize_t r;
unsigned u, u1;
-#if 0
int fd;
struct timeval tv[2];
+#if 0
struct timespec ts[2];
#endif
acl_t acl;
@@ -544,7 +544,6 @@ test_fuse (void)
return -1;
}
-#if 0
STAGE ("checking utimes");
fd = open ("timestamp&quo...
2014 Oct 23
17
[PATCH 00/16] Small bits of non-Linux porting
Hi,
from time to time, there have been requests (or attempts, like the
mingw port posted on the list some months ago) to make libguestfs work
on OSes different than Linux. Of course this would imply using a fixed
appliance, since it is currently heavily dependent on Linux.
The attached series provides some easy changes in this direction,
resolving some of the easy issues found in porting to
2017 Jul 24
1
[PATCH] common/mlstdutils: Fix parallel builds of bytes.ml.
From: "Richard W.M. Jones" <rjones@redhat.com>
With OCaml < 4.02 when using the alternate Bytes module, this module
would be compiled twice during parallel builds, resulting in
occasional corruption. The reason for this is that the ocamldep file
mentions ‘bytes.cmo’ whereas the ‘$(OCAML_BYTES_COMPAT_ML)’ macro
expands to ‘../../common/mlstdutils/bytes.ml’. Make doesn't
2017 Jul 13
1
[PATCH] common/mlstdutils: Always build bytecode version of this library.
Even if ocamlopt is available, always build a bytecode version of
‘common/mlstdutils’.
The generator is always built as bytecode. The generator depends on
‘../common/mlstdutils/guestfs_config.cmo’ and
‘../common/mlstdutils/std_utils.cmo’, but if these have not been built
already then the generator races to build the .cmi files. Since the
generator doesn't have the dependencies covering for
2017 Jul 17
3
[PATCH] v2v: Don't hang when rebuilding SUSE kdump initrd
Untested - still working on reproducing this bug.
Rich.
2017 Jul 16
4
[PATCH 0/2] customize: firstboot: Install firstboot scripts in multi-user.target (RHBZ#1469655).
See:
https://bugzilla.redhat.com/show_bug.cgi?id=1469655
https://github.com/systemd/systemd/issues/6334
https://lists.freedesktop.org/archives/systemd-devel/2017-July/039325.html
2017 Jul 18
4
[PATCH v2 0/2] v2v: Add slow tests of opensuse 13.1, 13.2 and 42.1
v1 was:
https://www.redhat.com/archives/libguestfs/2017-July/msg00154.html
There is no change in the first patch, but I added a second patch
adding slow tests of opensuse guests (which pass, but require the
first patch).
Rich.
2017 Jul 18
3
[PATCH] v2v: bootloaders: Handle no Bootloader::Tools default section (RHBZ#1472208).
In SUSE guests, handle the case where
Bootloader::Tools::GetDefaultSection () returns undef.
Previously this would return an empty string and cause a bogus error
in subsequent code:
virt-v2v: error: libguestfs error: statns: statns_stub: path must start
with a / character
---
v2v/linux_bootloaders.ml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git
2017 Jul 24
3
[PATCH v4] common/mlstdutils: Build a bytecode version of this
v3 -> v4:
Use HAVE_OCAMLOPT in both places.
2017 Jul 24
3
[PATCH v3] common/mlstdutils: Build a bytecode version of this
Removed extra $(OCAML_BYTES_COMPAT_CMO).
Add if HAVE_OCAMLOPT around the call to ocamlopt.
Tested with OCaml 4.01 on RHEL 7.
Rich.
2017 Jul 17
6
[PATCH v2 0/4] customize: firstboot: Install firstboot scripts in multi-user.target (RHBZ#1469655).
v1: https://www.redhat.com/archives/libguestfs/2017-July/msg00127.html
v2:
- Remove /etc/systemd/system/default.target.wants/guestfs-firstboot.service
link as well.
- Use multi-user.target for virt-p2v as well.
Rich.
2017 Jul 21
2
[PATCH] common/mlutils: Remove bogus suffix parameter from Mkdtemp.temp_dir.
The C function mkdtemp(3) requires that the string ends with 6 'X'
characters, so appending a non-empty suffix causes the function to
raise EINVAL.
Luckily we only ever called this function with the last parameter "".
---
builder/builder.ml | 2 +-
builder/sigchecker.ml | 2 +-
common/mlutils/unix_utils.ml | 4 ++--
2017 Jul 20
3
[PATCH] appliance: read ID_LIKE from os-release as a fallback
In the appliance used to build the packages for openSUSE, os-release
is super minimal and only had ID_LIKE=suse. The code setting the
DISTRO variable only searches for ID variable so far, resulting in
invalid packagelist on openSUSE.
This fix reads ID_LIKE as a fallback if ID contains nothing.
---
m4/guestfs_appliance.m4 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
2017 Aug 01
2
[PATCH] Add missing oraclelinux cases.
oraclelinux is the same as redhat/centos/scientificlinux, so add it
where it is missing. This fixes amongst other things, running sysprep
on an Oracle Linux image where it would previously fail operations like
setting the hostname, saying that it was not supported on that distro.
---
customize/firstboot.ml | 2 +-
customize/hostname.ml | 4 ++--
2017 Jul 13
3
[PATCH v2] common/mlstdutils: Build a bytecode version of this library.
Even if ocamlopt is available, always build a bytecode version of
‘common/mlstdutils’.
Furthermore, because this library is pure OCaml, we should not be
using ‘ocamlmklib’. We should use ‘ocaml{c,opt} -a’ instead. This
doesn't make any difference for native code, but for bytecode it was
building a broken library.
The original reason for making this change is because the generator is
always
2017 Jul 21
4
[PATCH] common/mlstdutils: Implement StringSet.
---
builder/sources.ml | 2 --
common/mlstdutils/Makefile.am | 4 ++-
common/mlstdutils/stringSet.ml | 19 ++++++++++++
common/mlstdutils/stringSet.mli | 46 ++++++++++++++++++++++++++++
dib/elements.ml | 2 --
sysprep/sysprep_operation_ca_certificates.ml | 1 -
2017 Aug 08
3
[PATCH] build: Add a common script for generating OCaml dependencies correctly.
These are generated in many different ways in the various
subdirectories, and sometimes not generated correctly. Introduce a
script to do this in one place, and hopefully correctly.
This is mostly simple refactoring, but I got rid of a couple of
things:
(1) The ‘make depend’ rule doesn't appear to be needed. automake (or
make?) seems to rebuild the ‘.depend’ file automatically just
2017 Jul 21
6
[PATCH v3 REPOST 0/5] threads: Add support for thread-safe handle.
Previously posted in 2015:
v1: https://www.redhat.com/archives/libguestfs/2015-June/msg00048.html
v2: https://www.redhat.com/archives/libguestfs/2015-June/msg00118.html
This series was posted about 4 weeks ago:
v3: https://www.redhat.com/archives/libguestfs/2017-June/msg00287.html
There is no change in this series except I rebased it against current
upstream head and retested. Last time there