]> git.proxmox.com Git - pve-network.git/commit
tests: mocking cfs_lock_file to pass subnet tests
authorStefan Lendl <s.lendl@proxmox.com>
Fri, 24 Nov 2023 13:16:13 +0000 (14:16 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 29 Nov 2023 10:09:57 +0000 (11:09 +0100)
commitaf7e542ad763d57e279740f1143706d6972143c4
tree83ea732af1c62d06353d2ac469b5fafd489ff2f4
parent24ab59e0af673d6804d252fbf81ca65ad7d1d1e8
tests: mocking cfs_lock_file to pass subnet tests

IPAM tries to lock file in clusterfs which it can't when testing as
non-root.

Mocking cfs_lock_file to emulate locking behavior.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
src/test/run_test_subnets.pl