Re: [Qemu-devel] [PATCH] qemu-iotests: Fix error message if which(1) not installed

2014-11-17 Thread Eric Blake
On 11/17/2014 07:49 PM, Fam Zheng wrote: > When which(1) is not installed, we complain "perl not found" because > it's the first set_prog_path check. The error message is misleading. > > Fix it by adding a check for which(1) in the beginning. Why not instead change set_prog_path to use 'command -

[Qemu-devel] [PATCH] qemu-iotests: Fix error message if which(1) not installed

2014-11-17 Thread Fam Zheng
When which(1) is not installed, we complain "perl not found" because it's the first set_prog_path check. The error message is misleading. Fix it by adding a check for which(1) in the beginning. Signed-off-by: Fam Zheng --- tests/qemu-iotests/common.config | 2 ++ 1 file changed, 2 insertions(+)