Skip to content

Commit

Permalink
iotests: Let common.nbd create socket in $SOCK_DIR
Browse files Browse the repository at this point in the history
In addition, drop the nbd_unix_socket assignment in 241 because it does
not really do anything.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191017133155.5327-6-mreitz@redhat.com
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
  • Loading branch information
XanClic committed Oct 28, 2019
1 parent dc48bfd commit 5759322
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/qemu-iotests/241
Expand Up @@ -23,8 +23,6 @@ echo "QA output created by $seq"

status=1 # failure is the default!

nbd_unix_socket=$TEST_DIR/test_qemu_nbd_socket

_cleanup()
{
_cleanup_test_img
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/common.nbd
Expand Up @@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

nbd_unix_socket="${TEST_DIR}/qemu-nbd.sock"
nbd_unix_socket="${SOCK_DIR}/qemu-nbd.sock"
nbd_tcp_addr="127.0.0.1"
nbd_pid_file="${TEST_DIR}/qemu-nbd.pid"
nbd_stderr_fifo="${TEST_DIR}/qemu-nbd.fifo"
Expand Down

0 comments on commit 5759322

Please sign in to comment.