aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/check
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-09-12 16:44:58 +0200
committerKevin Wolf <kwolf@redhat.com>2017-10-06 16:28:58 +0200
commit4e670492efe29b809f5b1d88eee2adcdf70d8d13 (patch)
tree009a8da2de21a3a46ba357bc534cf00740a2d894 /tests/qemu-iotests/check
parent8f4dcaba9bed36d067f2f2da1e2ceb9d1b50f2b2 (diff)
downloadqemu-4e670492efe29b809f5b1d88eee2adcdf70d8d13.zip
qemu-4e670492efe29b809f5b1d88eee2adcdf70d8d13.tar.gz
qemu-4e670492efe29b809f5b1d88eee2adcdf70d8d13.tar.bz2
qemu-iotests: get rid of $iam
The variable is almost unused, and one of the two uses is actually uninitialized. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/check')
-rwxr-xr-xtests/qemu-iotests/check5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index 2d2ef68..010bf48 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -30,12 +30,9 @@ interrupt=true
# by default don't output timestamps
timestamp=${TIMESTAMP:=false}
-# generic initialization
-iam=check
-
_init_error()
{
- echo "$iam: $1" >&2
+ echo "check: $1" >&2
exit 1
}