Commit 26b4054
authored
guest_agent: Domfsfreeze domfsthaw fix (#6549)
* domfsfreeze_domfsthaw: Add a fail pattern for frozen state check
When vm is in frozen state, running a agent command should fail
with clear error message. The error message varies depending on
the libvirt and qemu versions. The previos fail patterns misses
the error message on RHEL9.0
* domfsfreeze_domfsthaw: Thaw vm filesystems before cleanup
If the test fails between domfsfreeze and domfsthaw, cleanup will
fail because it tries to remove files in vm when vm is frozen.1 parent 2719032 commit 26b4054
File tree
1 file changed
+4
-2
lines changed- libvirt/tests/src/virsh_cmd/domain
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
| |||
0 commit comments