1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/storages/tests
catborise c8b0cb3a4a fix(storages): pool sources take real device and export paths, a leading special character is refused
The source check of a new logical or NFS pool accepted only letters,
digits and "/", which refused paths such as /dev/mapper/vg0-data,
/dev/disk/by-id/wwn-..., /dev/disk/by-path/pci-0000:00:1f.2-ata-1 or
/export/vm_images. The target check let any first character but "-"
through, so a quote, "<" or "&" reached the pool XML and libvirt failed
on it.

Target and source now share one expression: letters, digits, "/", "_",
".", ":" and "-" (not first, not right after "/"), still in linear time.
The Vagrant computes' NFS export becomes /srv/wvc-nfs, created through the
page in the live pool test.
2026-10-19 12:10:33 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_pools.py fix(storages): a new NFS pool starts when its mount point does not exist 2026-10-19 11:58:06 +03:00
test_pool_target.py fix(storages): pool sources take real device and export paths, a leading special character is refused 2026-10-19 12:10:33 +03:00
test_sftp_pipelined.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_ssh_pool.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_upload_job.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_views.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_volume_clone_job.py feat(storages): volume clone runs as a job 2026-10-15 09:28:43 +03:00