search for: libnbd_test

Displaying 5 results from an estimated 5 matches for "libnbd_test".

Did you mean: libnbd_tests
2020 Mar 04
0
[PATCH nbdkit 1/4] tests: Rename test-shutdown.sh to test-delay-shutdown.sh.
...T = \ test-retry-readonly.sh \ test-retry-reopen-fail.sh \ test-retry-zero-flags.sh \ - test-shutdown.sh \ test-ssh.sh \ test-swap.sh \ test.tcl \ @@ -1017,7 +1017,7 @@ endif TESTS += test-cow-null.sh # delay filter tests. -TESTS += test-shutdown.sh +TESTS += test-delay-shutdown.sh LIBNBD_TESTS += test-delay test_delay_SOURCES = test-delay.c diff --git a/tests/test-shutdown.sh b/tests/test-delay-shutdown.sh similarity index 96% rename from tests/test-shutdown.sh rename to tests/test-delay-shutdown.sh index 7d17045a..342c2346 100755 --- a/tests/test-shutdown.sh +++ b/tests/test-delay-s...
2020 Jul 15
0
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
...cdir)/include/nbdkit-plugin.h \ $(NULL) diff --git a/tests/Makefile.am b/tests/Makefile.am index b830d80e..2641910b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -502,6 +502,10 @@ if HAVE_CURL TESTS += test-curl-file.sh EXTRA_DIST += test-curl-file.sh LIBGUESTFS_TESTS += test-curl +LIBNBD_TESTS += \ + test-curl-header-script \ + test-curl-cookie-script \ + $(NULL) test_curl_SOURCES = \ test-curl.c \ @@ -524,6 +528,49 @@ test_curl_LDADD = \ libtest.la \ $(LIBGUESTFS_LIBS) \ $(NULL) + +test_curl_header_script_SOURCES = \ + test-curl-header-script.c \ + web-server.c \ + web-serve...
2020 Mar 19
1
[nbdkit PATCH] nbd: Drop nbd-standalone fallback
...nbd plugin test. LIBGUESTFS_TESTS += test-nbd TESTS += \ @@ -688,7 +688,7 @@ TESTS += \ test_nbd_SOURCES = test-nbd.c test.h test_nbd_CFLAGS = $(WARNINGS_CFLAGS) $(LIBGUESTFS_CFLAGS) test_nbd_LDADD = libtest.la $(LIBGUESTFS_LIBS) -endif HAVE_NBD_PLUGIN +endif HAVE_LIBNBD # null plugin test. LIBNBD_TESTS += test-null @@ -1118,10 +1118,10 @@ TESTS += test-log.sh # nofilter test. TESTS += test-nofilter.sh -if HAVE_NBD_PLUGIN +if HAVE_LIBNBD # nozero filter test. TESTS += test-nozero.sh -endif HAVE_NBD_PLUGIN +endif HAVE_LIBNBD # offset filter test. LIBGUESTFS_TESTS += test-offset diff --git...
2020 Mar 04
7
[PATCH nbdkit 0/4] server: Add nbdkit_shutdown() call and two new filters.
This adds a new nbdkit_shutdown() API whereby plugins and filters can request that the server shuts down (asynchronously) during the serving phase. Two new filters are added, one of which depends on this feature and the other not needing it but being somewhat related. Rich.
2020 Jul 15
2
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
Evolution of this patch series: https://www.redhat.com/archives/libguestfs/2020-July/thread.html#00073 Instead of auth-script, this implements header-script and cookie-script. It can be used for similar purposes but the implementation is somewhat saner. Rich.