Displaying 4 results from an estimated 4 matches for "67a5281".
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.
...+104,7 @@ TESTS += \
test-captive.sh \
test-random-sock.sh \
test-tls.sh \
- test-ipv4.sh \
+ test-ip.sh \
test-socket-activation \
test-foreground.sh
diff --git a/tests/test-ipv4.sh b/tests/test-ip.sh
similarity index 64%
rename from tests/test-ipv4.sh
rename to tests/test-ip.sh
index 67a5281..4bd841e 100755
--- a/tests/test-ipv4.sh
+++ b/tests/test-ip.sh
@@ -1,6 +1,6 @@
#!/bin/bash -
# nbdkit
-# Copyright (C) 2016 Red Hat Inc.
+# Copyright (C) 2016-2018 Red Hat Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -32,21 +32,28 @@
#...
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.