Files
libguestfs/cat
Mykola Ivanets 9bdd2cacfd cat: virt-tail: Fix spontaneously failing test
According to 'guestfs_sync' API method documentation: "You should always call this if you have modified a disk image, before closing the handle."
So, 'guestfish --remote sync' is required because changes made on the disk (guestfish --remote rm /tail) should be visible to 'virt-tail' which works in different process and also accessing the same disk.
A you can see, other changes done via 'guestfish --remote' in this test are flushed via a 'sync' command.

The test is failing spontaneously beasue without 'sync' it very depends on outside factors like qemu caching policy, underlying host filesystem etc.
2018-01-16 08:37:16 +00:00
..
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00