[Libguestfs] [PATCH 2/2] Fix virt-builder tests for out-of-tree build
Richard W.M. Jones
rjones at redhat.com
Sat Dec 7 20:35:21 UTC 2013
On Sat, Dec 07, 2013 at 07:33:46PM +0100, Hilko Bengen wrote:
> ---
> builder/test-virt-builder-list.sh | 4 ++--
> builder/test-virt-builder.sh | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/builder/test-virt-builder-list.sh b/builder/test-virt-builder-list.sh
> index 11305a9..ff16abe 100755
> --- a/builder/test-virt-builder-list.sh
> +++ b/builder/test-virt-builder-list.sh
> @@ -21,9 +21,9 @@
> export LANG=C
> set -e
>
> -abs_srcdir=$(cd $srcdir && pwd)
> +abs_builddir=$(pwd)
>
> -export VIRT_BUILDER_SOURCE=file://$abs_srcdir/test-index
> +export VIRT_BUILDER_SOURCE=file://$abs_builddir/test-index
>
> short_list=$($VG ./virt-builder --no-check-signature --no-cache --list)
>
> diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh
> index 6296d16..438f2e9 100755
> --- a/builder/test-virt-builder.sh
> +++ b/builder/test-virt-builder.sh
> @@ -19,9 +19,9 @@
> export LANG=C
> set -e
>
> -abs_srcdir=$(cd $srcdir && pwd)
> +abs_builddir=$(pwd)
>
> -export VIRT_BUILDER_SOURCE=file://$abs_srcdir/test-index
> +export VIRT_BUILDER_SOURCE=file://$abs_builddir/test-index
>
> if [ ! -f fedora.xz ]; then
> echo "$0: test skipped because there is no fedora.xz in the build directory"
> --
> 1.8.5.1
Looks good, ACK to both patches.
(You should be able to push these)
Thanks, Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list