[Libguestfs] [PATCH] Add a regression test for RHBZ#1011907 / RHBZ#1165785