qemu-iotests: refine common.config
commit8a7607c2e201f22aa73df03661c23c7d1fbd7540
authorBo Tu <tubo@linux.vnet.ibm.com>
Thu, 3 Dec 2015 10:01:29 +0000 (3 18:01 +0800)
committerMax Reitz <mreitz@redhat.com>
Fri, 18 Dec 2015 13:36:17 +0000 (18 14:36 +0100)
treea92709add4ea62f85f649f68ab76c71429eb25f9
parentba889444957aaeb073a3a95f5cb2794aa1b222f5
qemu-iotests: refine common.config

Replacing awk with sed, then it's easier to read.
Replacing "[ ! -z "$default_alias_machine" ]" with
"[[ $default_alias_machine ]]", then it's slightly shorter.

Reviewed-by: Max Reitz <mreitz@redhat.com>
Suggested-By: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Bo Tu <tubo@linux.vnet.ibm.com>
Message-id: 1449136891-26850-2-git-send-email-tubo@linux.vnet.ibm.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/common.config