aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/039
diff options
context:
space:
mode:
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>2018-10-24 17:40:50 +0800
committerEric Blake <eblake@redhat.com>2018-11-19 10:08:19 -0600
commitbf22957309369cf6f642e715ff6c470671920e7e (patch)
tree9b40901b795a32a29b51e347729f3d5e5648cb13 /tests/qemu-iotests/039
parente6ebbd46b6e539f3613136111977721d212c2812 (diff)
downloadqemu-bf22957309369cf6f642e715ff6c470671920e7e.zip
qemu-bf22957309369cf6f642e715ff6c470671920e7e.tar.gz
qemu-bf22957309369cf6f642e715ff6c470671920e7e.tar.bz2
qemu-iotests: remove unused variable 'here'
Running git grep '\$here' tests/qemu-iotests has 0 hits, which means we are setting a variable that has no use. It appears that commit e8f8624d removed the last use. So execute the following cmd to remove all of the 'here=...' lines as dead code. sed -i '/^here=/d' $(git grep -l '^here=' tests/qemu-iotests) Cc: kwolf@redhat.com Cc: mreitz@redhat.com Cc: eblake@redhat.com Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com> Message-Id: <20181024094051.4470-3-maozhongyi@cmss.chinamobile.com> Reviewed-by: Eric Blake <eblake@redhat.com> [eblake: touch up commit message, reorder series, rebase to master] Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/039')
-rwxr-xr-xtests/qemu-iotests/0391
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/qemu-iotests/039 b/tests/qemu-iotests/039
index 1f483396..b3c344c 100755
--- a/tests/qemu-iotests/039
+++ b/tests/qemu-iotests/039
@@ -27,7 +27,6 @@ owner=stefanha@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
status=1 # failure is the default!
_cleanup()