[pve-devel] [PATCH qemu-server 6/12] test: add nfs-offline storage

Daniel Herzig d.herzig at proxmox.com
Fri Oct 25 17:02:37 CEST 2024


Add an nfs-offline storage to allow for comparatative testing
against potentially mocked online storages.

Signed-off-by: Daniel Herzig <d.herzig at proxmox.com>
---
 test/run_config2command_tests.pl | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/run_config2command_tests.pl b/test/run_config2command_tests.pl
index 1a96c278..eda89dcb 100755
--- a/test/run_config2command_tests.pl
+++ b/test/run_config2command_tests.pl
@@ -50,6 +50,15 @@ my $base_env = {
 		    iso => 1,
 		},
 	    },
+	    'nfs-offline' => {
+		type => 'nfs',
+		export => '/srv/nfs/isos',
+		path => '/mnt/pve/nfs-offline',
+		server => '127.0.0.42',
+		content => {
+		    iso => 1,
+		},
+	    },
 	    'rbd-store' => {
 		monhost => '127.0.0.42,127.0.0.21,::1',
 		fsid => 'fc4181a6-56eb-4f68-b452-8ba1f381ca2a',
-- 
2.39.5





More information about the pve-devel mailing list