[libvirt PATCH 4/5] tests: commandtest: use VIR_AUTOCLOSE