search for: truncate4

Displaying 8 results from an estimated 8 matches for "truncate4".

Did you mean: truncated
2020 May 20
2
[PATCH nbdkit] tests/test-truncate4.sh: Rewrite to use nbdsh.
This commit works for me, but TBH I'm not clear on what the actual purpose of this test is supposed to be. Rich.
2020 May 20
0
[PATCH nbdkit] tests/test-truncate4.sh: Rewrite to use nbdsh.
...it executes. However: nbdkit: debug: accepted connection nbdkit: file[1]: debug: truncate: preconnect nbdkit: file[1]: debug: file: preconnect nbdkit: file[1]: debug: newstyle negotiation: flags: global 0x3 + echo 'Resizing down' Resizing down + truncate -s 512 truncate4.data nbdkit: file[1]: debug: newstyle negotiation: client flags: 0x3 nbdkit: file[1]: debug: newstyle negotiation: NBD_OPT_STRUCTURED_REPLY: client requested structured replies Here are still connecting to nbdkit from "connection A", long after the sleep has finished and the trun...
2019 Apr 27
0
[nbdkit PATCH 3/4] truncate: Test for safe multi-connect size handling
...ed connection B bleeds over into the pread results seen by connection A. If this test is applied without the previous patch, the second read from A sees all zeroes instead of the desired pattern 2. Signed-off-by: Eric Blake <eblake@redhat.com> --- tests/Makefile.am | 2 + tests/test-truncate4.sh | 85 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100755 tests/test-truncate4.sh diff --git a/tests/Makefile.am b/tests/Makefile.am index 4b7aa22..4148793 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -122,6 +122,7 @@ EXTRA_DIST = \ tes...
2020 May 20
1
Re: [PATCH nbdkit] tests/test-truncate4.sh: Rewrite to use nbdsh.
...h. This allows us to control both > connections from a single process, making the test predicatable and > easier to understand. Indeed. nbdsh is making a lot of tests easier to write, and it is now just a question of revisiting the older tests that predated it. > --- > tests/test-truncate4.sh | 90 ++++++++++++++++++++++++++--------------- > 1 file changed, 58 insertions(+), 32 deletions(-) > > diff --git a/tests/test-truncate4.sh b/tests/test-truncate4.sh > index e4be626b..c5dc608c 100755 > --- a/tests/test-truncate4.sh > +++ b/tests/test-truncate4.sh > -requ...
2019 Apr 29
1
Re: [nbdkit PATCH 3/4] truncate: Test for safe multi-connect size handling
...e pread results seen by connection A. If this test > is applied without the previous patch, the second read from A sees all > zeroes instead of the desired pattern 2. > > Signed-off-by: Eric Blake <eblake@redhat.com> > --- > tests/Makefile.am | 2 + > tests/test-truncate4.sh | 85 +++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 87 insertions(+) > create mode 100755 tests/test-truncate4.sh > > diff --git a/tests/Makefile.am b/tests/Makefile.am > index 4b7aa22..4148793 100644 > --- a/tests/Makefile.am > +++ b/tests/Makefile.am >...
2019 Apr 27
8
[nbdkit PATCH 0/4] Fix truncate handling of real_size
...size handling doc: More details on (lack of) dynamic sizing docs/nbdkit-plugin.pod | 9 ++ filters/cache/cache.c | 10 --- filters/error/error.c | 10 --- filters/truncate/truncate.c | 162 +++++++++++++++++++----------------- tests/Makefile.am | 2 + tests/test-truncate4.sh | 85 +++++++++++++++++++ 6 files changed, 183 insertions(+), 95 deletions(-) create mode 100755 tests/test-truncate4.sh -- 2.20.1
2020 Mar 26
0
[PATCH nbdkit 6/9] tests: Add a regression test that we can still compile with -undefined.
...ts/test-undefined-plugin.c | 70 +++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index f9c6b8ad..901dca7e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -208,6 +208,7 @@ EXTRA_DIST = \ test-truncate3.sh \ test-truncate4.sh \ test-truncate-extents.sh \ + test-undefined.sh \ test-vddk.sh \ test-vddk-real.sh \ test-version.sh \ @@ -351,6 +352,33 @@ test_just_filter_header_CPPFLAGS = \ $(NULL) test_just_filter_header_CFLAGS = $(WARNINGS_CFLAGS) +# Build a plugin with libtool -undefined flag. This is how...
2020 Mar 26
15
[PATCH nbdkit 0/9] Create libnbdkit.so
This creates libnbdkit.so as discussed in the following thread: https://www.redhat.com/archives/libguestfs/2020-March/thread.html#00203 test-delay-shutdown.sh fails for unclear reasons. This series starts by reverting "tests: Don't strand hung nbdkit processes" which is because several other tests fail randomly unless I revert this patch. I didn't investigate this yet so it