Commit dbd19730 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix "software/kvm: fix wipe-disk-device-wrapper"

The test was missing change of the generated file.

Fixes 2048ceb8
parent a356e395
Pipeline #18432 failed with stage
in 0 seconds
......@@ -1407,7 +1407,7 @@ class TestDiskDevicePathWipeDiskOndestroy(InstanceTestCase, KvmMixin):
with open(slapos_wipe_device_disk) as fh:
self.assertEqual(
fh.read().strip(),
r"""dd if=/dev/zero of=/dev/virt0 bs=4096 count=500k
r"""#!/bin/sh\ndd if=/dev/zero of=/dev/virt0 bs=4096 count=500k
dd if=/dev/zero of=/dev/virt1 bs=4096 count=500k"""
)
self.assertTrue(os.access(slapos_wipe_device_disk, os.X_OK))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment