[Libguestfs] [PATCH nbdkit 0/4] tests: Move common functions into tests/functions.sh