mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-28 00:01:02 +00:00
Add feature DISABLE_OPENWRT_AUTO_UPGRADE
This commit is contained in:
@@ -517,4 +517,13 @@ def test_pci_passthrough_fail(docker_services):
|
||||
assert ('Loading vfio-pci kernel module' in get_logs()) == True
|
||||
|
||||
# It has to fail because IOMMU is not available in multipass (run via Github Actions)
|
||||
assert ('ERROR: Failed to bind PCI device 0000:00:05.0 to vfio-pci.' in get_logs()) == True
|
||||
assert ('ERROR: Failed to bind PCI device 0000:00:05.0 to vfio-pci.' in get_logs()) == True
|
||||
|
||||
|
||||
@pytest.mark.parametrize("parameter",
|
||||
[('DISABLE_OPENWRT_AUTO_UPGRADE','true')], indirect=True,
|
||||
ids=['DISABLE_OPENWRT_AUTO_UPGRADE="true"'])
|
||||
def test_openwrt_migrate_existing_volume(docker_services):
|
||||
wait_for_specific_log(docker_services, 'Booting image using QEMU emulator')
|
||||
|
||||
assert ('OpenWrt upgrade check is disabled' in get_logs()) == True
|
||||
|
||||
Reference in New Issue
Block a user