[PATCH] storagepoolxml2argvtest: Fix output data for 'pool-netfs-protocol-ver'

Peter Krempa posted 1 patch 1 year, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/ebe0e34b640453abe4add79be74159bb8a94ef03.1656687338.git.pkrempa@redhat.com
.../pool-netfs-protocol-ver-freebsd.argv                        | 2 +-
tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv      | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] storagepoolxml2argvtest: Fix output data for 'pool-netfs-protocol-ver'
Posted by Peter Krempa 1 year, 10 months ago
The storage pool tests have host-specific versions which I neglected to
update in commit c44930d932203b4a58dccbbeaa814fff6cea8216 thus breaking
the test-suite on non-linux OSes.

Fixes: c44930d932203b4a58dccbbeaa814fff6cea8216
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---

Pushed as a build-fix.

 .../pool-netfs-protocol-ver-freebsd.argv                        | 2 +-
 tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver-freebsd.argv b/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver-freebsd.argv
index 32cdaebcff..20954ef50c 100644
--- a/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver-freebsd.argv
+++ b/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver-freebsd.argv
@@ -1,5 +1,5 @@
 mount \
--o nosuid,noexec,nfsvers=3 \
+-o nosuid,noexec,nfsvers=4.1 \
 -t nfs \
 localhost:/var/lib/libvirt/images \
 /mnt
diff --git a/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv b/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv
index ed157883c0..9afc6090b8 100644
--- a/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv
+++ b/tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv
@@ -1,5 +1,5 @@
 mount \
--o nfsvers=3 \
+-o nfsvers=4.1 \
 -t nfs \
 localhost:/var/lib/libvirt/images \
 /mnt
-- 
2.36.1