search for: 81bd79e

Displaying 4 results from an estimated 4 matches for "81bd79e".

2018 Jan 26
1
[PATCH nbdkit] tests: Rename and rework test-ipv4.sh so it tests IPv6
I wanted to change this test so it tries connections on both IPv4 & IPv6. Having it connect on both is the easy bit. Harder was making it not fail on machines that don't have IPv6 stack (or IPv4 in some rare cases). TBH I wasn't able to test this, but it seems like this should work. In the end we want to modify nbdkit so it can listen on only certain interfaces, but that's a
2018 Mar 06
0
[PATCH nbdkit 2/2] tests: Rename and rework test-ipv4.sh so it tests IPv6 connections too.
...er=nbd,file.host=::1,file.port=$port" > ipv6.out + cat ipv6.out + grep -sq "^virtual size: 100M" ipv6.out +fi # Kill the process. kill $pid -rm ipv4.pid +rm ip.pid +rm -f ipv4.out ipv6.out diff --git a/tests/test-socket-activation.c b/tests/test-socket-activation.c index 81bd79e..8b1a1f0 100644 --- a/tests/test-socket-activation.c +++ b/tests/test-socket-activation.c @@ -39,7 +39,7 @@ * from the test framework. * * It's *almost* possible to test this from a shell script - * (cf. test-ipv4.sh) but as far as I can tell setting LISTEN_PID + * (cf. test-ip.sh) but as...
2018 Jan 27
1
[PATCH nbdkit v2] tests: Rename and rework test-ipv4.sh so it tests
This is my second go at reworking the ‘test-ipv4.sh’ test. Instead of merely connecting to the server using socat, use ‘qemu-img info’ so that the test is slightly more realistic. Also clean up old PID and log files before starting the test. Previous version was posted here: https://www.redhat.com/archives/libguestfs/2018-January/msg00253.html Rich.
2018 Mar 06
4
[PATCH nbdkit 0/2] tests: Minor reworking of tests.
Small reworking of tests to remove $QEMU_IO, making that consistent with other test tools, and to test IPv6 connections.