[sheepdog] [PATCH] tests/functional: make qemu commands specifiable

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Aug 12 01:19:42 CEST 2013


At Sun, 11 Aug 2013 01:40:26 +0900,
Hitoshi Mitake wrote:
> 
> Current scripts under tests/functional use qemu-io and qemu-img
> directly. This patch makes these commands specifiable via environment
> variables: QEMU_IO_PROG and QEMU_IMG_PROG. This is important for
> testing stable branches because output format of these commands can be
> changed during update of qemu.
> 
> Example:
> $ sudo QEMU_IO_PROG=/usr/local/qemu-stable-1.5/qemu-io DRIVER=local ./check 39
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  tests/functional/013           | 10 +++++-----
>  tests/functional/016           |  2 +-
>  tests/functional/017           | 20 ++++++++++----------
>  tests/functional/024           |  6 +++---
>  tests/functional/025           |  4 ++--
>  tests/functional/039           | 22 +++++++++++-----------
>  tests/functional/058           |  2 +-
>  tests/functional/059           |  2 +-
>  tests/functional/common.config |  2 ++
>  9 files changed, 36 insertions(+), 34 deletions(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list