locking during the tests as regular user failed because we try to chown to the backup user (which is not always possible). Instead, do not lock at all, by implementing 'open_backup_lockfile' with 'create_mocked_lock' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>