core-admin-client/qubesadmin/tests/tools
Marek Marczykowski-Górecki f1424812b0
qvm-template: improve install lock
Use fcntl.flock() instead of just file existence check, so it won't fail
on a stale lock file. While at it, move locking to a function decorator,
to de-clutter the install function a bit. This will allow reducing
indentation level, but don't do it yet, to make the patch readable.

Move lock testing into a separate test, and remove it from install
tests.

QubesOS/qubes-issues#2534
2021-02-06 16:03:39 +01:00
..
__init__.py
init.py
qubes_prefs.py
qvm_backup_restore.py
qvm_backup.py
qvm_check.py
qvm_clone.py
qvm_create.py
qvm_device.py
qvm_features.py
qvm_firewall.py
qvm_kill.py
qvm_ls.py
qvm_pause.py
qvm_pool_legacy.py
qvm_pool.py
qvm_prefs.py
qvm_remove.py
qvm_run.py
qvm_service.py
qvm_shutdown.py
qvm_start_daemon.py
qvm_start.py
qvm_tags.py
qvm_template_postprocess.py
qvm_template.py qvm-template: improve install lock 2021-02-06 16:03:39 +01:00
qvm_unpause.py
qvm_volume.py