]> git.proxmox.com Git - pve-manager.git/commit
fix tests in 'vzdump_new_test.pl'
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 28 Jan 2022 08:36:47 +0000 (09:36 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 28 Jan 2022 08:45:53 +0000 (09:45 +0100)
commit8a6681900ab2a53e324e74031017d83d814d79d8
treeec43c63d01eff41cc0903ecca87fdca9af3a03f1
parentd20113ef7e6fa864498d0b76196f7798c419378f
fix tests in 'vzdump_new_test.pl'

commmit
b241deb7 ("close #3476: vzdump: add job-init hook")

introduces a 'cfs_update' in VZDump->new(), which overwrites our
carefully prepared storage/vm config which can break the tests

to prevent this, mock 'cfs_update' to do nothing, since we never
want to load the 'real' configs during tests anyway

fixes commit b241deb731369ff96b26bfa670c5c8d273aea02c

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
test/vzdump_new_test.pl