@@ -871,7 +871,7 @@ Linux)
vhost_crypto="yes"
vhost_scsi="yes"
vhost_vsock="yes"
- QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES"
+ QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$PWD/linux-headers $QEMU_INCLUDES"
supported_os="yes"
;;
esac
@@ -5,9 +5,9 @@ if [ "$#" -ne 0 ]; then
FORMAT_LIST="$@"
fi
-export QEMU_PROG="$(pwd)/x86_64-softmmu/qemu-system-x86_64"
-export QEMU_IMG_PROG="$(pwd)/qemu-img"
-export QEMU_IO_PROG="$(pwd)/qemu-io"
+export QEMU_PROG="$PWD/x86_64-softmmu/qemu-system-x86_64"
+export QEMU_IMG_PROG="$PWD/qemu-img"
+export QEMU_IO_PROG="$PWD/qemu-io"
if [ ! -x $QEMU_PROG ]; then
echo "'make check-block' requires qemu-system-x86_64"
@@ -24,7 +24,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -27,7 +27,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hch@lst.de
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -27,7 +27,7 @@ owner=stefanha@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=pbonzini@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -27,7 +27,7 @@ owner=stefanha@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -27,7 +27,7 @@ owner=stefanha@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=pbonzini@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=xiawenc@linux.vnet.ibm.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
nbd_unix_socket=$TEST_DIR/test_qemu_nbd_socket
@@ -24,7 +24,7 @@ owner=famz@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=mreitz@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=mreitz@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=alex@alex.org.uk
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
# get standard environment, filters and checks
@@ -25,7 +25,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hutao@cn.fujitsu.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=benoit@irqsave.net
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -29,7 +29,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
snapshot_virt0="snapshot-v0.qcow2"
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
# get standard environment, filters and checks
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
MIG_FIFO="${TEST_DIR}/migrate"
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -27,7 +27,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=hutao@cn.fujitsu.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
trap "exit \$status" 0 1 2 3 15
@@ -24,7 +24,7 @@ owner=famz@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -27,7 +27,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
devname="eiodev$$"
@@ -24,7 +24,7 @@ owner=den@openvz.org
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=berrange@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
TMP_SNAP1=${TEST_DIR}/tmp.qcow2
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=berrange@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=tgolembi@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=nirsof@gmail.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=nirsof@gmail.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=eblake@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=stefanha@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
MIG_SOCKET="${TEST_DIR}/migrate"
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
MIG_SOCKET="${TEST_DIR}/migrate"
@@ -24,7 +24,7 @@ owner="Manos Pitsidianakis"
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
trap "exit \$status" 0 1 2 3 15
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=berrange@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=berrange@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=eblake@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=famz@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=kwolf@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=berrange@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -24,7 +24,7 @@ owner=eblake@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -25,7 +25,7 @@ owner=jsnow@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -26,7 +26,7 @@ owner=jcody@redhat.com
seq=`basename $0`
echo "QA output created by $seq"
-here=`pwd`
+here=$PWD
status=1 # failure is the default!
_cleanup()
@@ -80,17 +80,17 @@ _full_imgfmt_details()
_full_platform_details()
{
- os=`uname -s`
- host=`hostname -s`
- kernel=`uname -r`
- platform=`uname -m`
+ os=$(uname -s)
+ host=$(hostname -s)
+ kernel=$(uname -r)
+ platform=$(uname -m)
echo "$os/$platform $host $kernel"
}
# $1 = prog to look for
set_prog_path()
{
- p=`command -v $1 2> /dev/null`
+ p=$(command -v $1 2> /dev/null)
if [ -n "$p" -a -x "$p" ]; then
type -p "$p"
else
@@ -99,7 +99,7 @@ set_prog_path()
}
if [ -z "$TEST_DIR" ]; then
- TEST_DIR=`pwd`/scratch
+ TEST_DIR=$PWD/scratch
fi
if [ ! -e "$TEST_DIR" ]; then
@@ -147,9 +147,9 @@ do
if $group
then
# arg after -g
- group_list=`sed -n <"$source_iotests/group" -e 's/$/ /' -e "/^[0-9][0-9][0-9].* $r /"'{
+ group_list=$(sed -n <"$source_iotests/group" -e 's/$/ /' -e "/^[0-9][0-9][0-9].* $r /"'{
s/ .*//p
-}'`
+}')
if [ -z "$group_list" ]
then
echo "Group \"$r\" is empty or not defined?"
@@ -173,9 +173,9 @@ s/ .*//p
# arg after -x
# Populate $tmp.list with all tests
awk '/^[0-9]{3,}/ {print $1}' "${source_iotests}/group" > $tmp.list 2>/dev/null
- group_list=`sed -n <"$source_iotests/group" -e 's/$/ /' -e "/^[0-9][0-9][0-9].* $r /"'{
+ group_list=$(sed -n <"$source_iotests/group" -e 's/$/ /' -e "/^[0-9][0-9][0-9].* $r /"'{
s/ .*//p
-}'`
+}')
if [ -z "$group_list" ]
then
echo "Group \"$r\" is empty or not defined?"
@@ -193,7 +193,7 @@ s/ .*//p
rm -f $tmp.sed
fi
echo "/^$t\$/d" >>$tmp.sed
- numsed=`expr $numsed + 1`
+ numsed=$(expr $numsed + 1)
done
sed -f $tmp.sed <$tmp.list >$tmp.tmp
mv $tmp.tmp $tmp.list
@@ -433,12 +433,12 @@ testlist options
;;
[0-9]*-[0-9]*)
- eval `echo $r | sed -e 's/^/start=/' -e 's/-/ end=/'`
+ eval $(echo $r | sed -e 's/^/start=/' -e 's/-/ end=/')
;;
[0-9]*-)
- eval `echo $r | sed -e 's/^/start=/' -e 's/-//'`
- end=`echo [0-9][0-9][0-9] [0-9][0-9][0-9][0-9] | sed -e 's/\[0-9]//g' -e 's/ *$//' -e 's/.* //'`
+ eval $(echo $r | sed -e 's/^/start=/' -e 's/-//')
+ end=$(echo [0-9][0-9][0-9] [0-9][0-9][0-9][0-9] | sed -e 's/\[0-9]//g' -e 's/ *$//' -e 's/.* //')
if [ -z "$end" ]
then
echo "No tests in range \"$r\"?"
@@ -455,8 +455,8 @@ testlist options
esac
# get rid of leading 0s as can be interpreted as octal
- start=`echo $start | sed 's/^0*//'`
- end=`echo $end | sed 's/^0*//'`
+ start=$(echo $start | sed 's/^0*//')
+ end=$(echo $end | sed 's/^0*//')
if $xpand
then
@@ -531,7 +531,7 @@ fi
# should be sort -n, but this did not work for Linux when this
# was ported from IRIX
#
-list=`sort $tmp.list`
+list=$(sort $tmp.list)
rm -f $tmp.list $tmp.tmp $tmp.sed
if [ -z "$QEMU_PROG" ]
@@ -590,7 +590,7 @@ fi
export QEMU_NBD_PROG="$(type -p "$QEMU_NBD_PROG")"
if [ -z "$QEMU_VXHS_PROG" ]; then
- export QEMU_VXHS_PROG="`set_prog_path qnio_server`"
+ export QEMU_VXHS_PROG="$(set_prog_path qnio_server)"
fi
if [ -x "$build_iotests/socket_scm_helper" ]
@@ -616,7 +616,7 @@ _wallclock()
_timestamp()
{
- now=`date "+%T"`
+ now=$(date "+%T")
printf %s " [$now]"
}
@@ -642,9 +642,9 @@ END { if (NR > 0) {
if [ -f $tmp.expunged ]
then
- notrun=`wc -l <$tmp.expunged | sed -e 's/ *//g'`
- try=`expr $try - $notrun`
- list=`echo "$list" | sed -f $tmp.expunged`
+ notrun=$(wc -l <$tmp.expunged | sed -e 's/ *//g')
+ try=$(expr $try - $notrun)
+ list=$(echo "$list" | sed -f $tmp.expunged)
fi
echo "" >>check.log
@@ -682,8 +682,8 @@ trap "_wrapup; exit \$status" 0 1 2 3 15
[ -f $TIMESTAMP_FILE ] || touch $TIMESTAMP_FILE
-FULL_IMGFMT_DETAILS=`_full_imgfmt_details`
-FULL_HOST_DETAILS=`_full_platform_details`
+FULL_IMGFMT_DETAILS=$(_full_imgfmt_details)
+FULL_HOST_DETAILS=$(_full_platform_details)
cat <<EOF
QEMU -- "$QEMU_PROG" $QEMU_OPTIONS
@@ -729,7 +729,7 @@ do
# really going to try and run this one
#
rm -f $seq.out.bad
- lasttime=`sed -n -e "/^$seq /s/.* //p" <$TIMESTAMP_FILE`
+ lasttime=$(sed -n -e "/^$seq /s/.* //p" <$TIMESTAMP_FILE)
if [ "X$lasttime" != X ]; then
printf %s " ${lasttime}s ..."
else
@@ -737,7 +737,7 @@ do
fi
rm -f core $seq.notrun
- start=`_wallclock`
+ start=$(_wallclock)
$timestamp && printf %s " [$(date "+%T")]"
if [ "$(head -n 1 "$source_iotests/$seq")" == "#!/usr/bin/env python" ]; then
@@ -757,7 +757,7 @@ do
fi
sts=$?
$timestamp && _timestamp
- stop=`_wallclock`
+ stop=$(_wallclock)
if [ -f core ]
then
@@ -806,7 +806,7 @@ do
then
:
else
- echo "$seq `expr $stop - $start`" >>$tmp.time
+ echo "$seq $(expr $stop - $start)" >>$tmp.time
fi
else
echo " - output mismatch (see $seq.out.bad)"
@@ -824,14 +824,14 @@ do
if $err
then
bad="$bad $seq"
- n_bad=`expr $n_bad + 1`
+ n_bad=$(expr $n_bad + 1)
quick=false
fi
- [ -f $seq.notrun ] || try=`expr $try + 1`
+ [ -f $seq.notrun ] || try=$(expr $try + 1)
seq="after_$seq"
done
interrupt=false
-status=`expr $n_bad`
+status=$(expr $n_bad)
exit
@@ -21,11 +21,11 @@ export LANG=C
PATH=".:$PATH"
-HOSTOS=`uname -s`
-arch=`uname -m`
+HOSTOS=$(uname -s)
+arch=$(uname -m)
[[ "$arch" =~ "ppc64" ]] && qemu_arch=ppc64 || qemu_arch="$arch"
-export PWD=`pwd`
+export PWD=$PWD
# make sure we have a standard umask
umask 022
@@ -160,7 +160,7 @@ fi
ORIG_TEST_IMG="$TEST_IMG"
if [ -z "$TEST_DIR" ]; then
- TEST_DIR=`pwd`/scratch
+ TEST_DIR=$PWD/scratch
fi
QEMU_TEST_DIR="${TEST_DIR}"
Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com> --- configure | 2 +- tests/check-block.sh | 6 ++-- tests/qemu-iotests/001 | 2 +- tests/qemu-iotests/002 | 2 +- tests/qemu-iotests/003 | 2 +- tests/qemu-iotests/004 | 2 +- tests/qemu-iotests/005 | 2 +- tests/qemu-iotests/007 | 2 +- tests/qemu-iotests/008 | 2 +- tests/qemu-iotests/009 | 2 +- tests/qemu-iotests/010 | 2 +- tests/qemu-iotests/011 | 2 +- tests/qemu-iotests/012 | 2 +- tests/qemu-iotests/013 | 2 +- tests/qemu-iotests/014 | 2 +- tests/qemu-iotests/015 | 2 +- tests/qemu-iotests/017 | 2 +- tests/qemu-iotests/018 | 2 +- tests/qemu-iotests/019 | 2 +- tests/qemu-iotests/020 | 2 +- tests/qemu-iotests/021 | 2 +- tests/qemu-iotests/022 | 2 +- tests/qemu-iotests/023 | 2 +- tests/qemu-iotests/024 | 2 +- tests/qemu-iotests/025 | 2 +- tests/qemu-iotests/026 | 2 +- tests/qemu-iotests/027 | 2 +- tests/qemu-iotests/028 | 2 +- tests/qemu-iotests/029 | 2 +- tests/qemu-iotests/031 | 2 +- tests/qemu-iotests/032 | 2 +- tests/qemu-iotests/033 | 2 +- tests/qemu-iotests/034 | 2 +- tests/qemu-iotests/035 | 2 +- tests/qemu-iotests/036 | 2 +- tests/qemu-iotests/037 | 2 +- tests/qemu-iotests/038 | 2 +- tests/qemu-iotests/039 | 2 +- tests/qemu-iotests/042 | 2 +- tests/qemu-iotests/043 | 2 +- tests/qemu-iotests/046 | 2 +- tests/qemu-iotests/047 | 2 +- tests/qemu-iotests/049 | 2 +- tests/qemu-iotests/050 | 2 +- tests/qemu-iotests/051 | 2 +- tests/qemu-iotests/052 | 2 +- tests/qemu-iotests/053 | 2 +- tests/qemu-iotests/054 | 2 +- tests/qemu-iotests/058 | 2 +- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/061 | 2 +- tests/qemu-iotests/062 | 2 +- tests/qemu-iotests/063 | 2 +- tests/qemu-iotests/064 | 2 +- tests/qemu-iotests/067 | 2 +- tests/qemu-iotests/070 | 2 +- tests/qemu-iotests/073 | 2 +- tests/qemu-iotests/075 | 2 +- tests/qemu-iotests/076 | 2 +- tests/qemu-iotests/077 | 2 +- tests/qemu-iotests/078 | 2 +- tests/qemu-iotests/079 | 2 +- tests/qemu-iotests/080 | 2 +- tests/qemu-iotests/081 | 2 +- tests/qemu-iotests/082 | 2 +- tests/qemu-iotests/083 | 2 +- tests/qemu-iotests/084 | 2 +- tests/qemu-iotests/085 | 2 +- tests/qemu-iotests/086 | 2 +- tests/qemu-iotests/087 | 2 +- tests/qemu-iotests/088 | 2 +- tests/qemu-iotests/091 | 2 +- tests/qemu-iotests/092 | 2 +- tests/qemu-iotests/095 | 2 +- tests/qemu-iotests/101 | 2 +- tests/qemu-iotests/104 | 2 +- tests/qemu-iotests/105 | 2 +- tests/qemu-iotests/116 | 2 +- tests/qemu-iotests/128 | 2 +- tests/qemu-iotests/131 | 2 +- tests/qemu-iotests/133 | 2 +- tests/qemu-iotests/134 | 2 +- tests/qemu-iotests/135 | 2 +- tests/qemu-iotests/142 | 2 +- tests/qemu-iotests/144 | 2 +- tests/qemu-iotests/145 | 2 +- tests/qemu-iotests/146 | 2 +- tests/qemu-iotests/154 | 2 +- tests/qemu-iotests/158 | 2 +- tests/qemu-iotests/171 | 2 +- tests/qemu-iotests/172 | 2 +- tests/qemu-iotests/173 | 2 +- tests/qemu-iotests/174 | 2 +- tests/qemu-iotests/175 | 2 +- tests/qemu-iotests/177 | 2 +- tests/qemu-iotests/178 | 2 +- tests/qemu-iotests/181 | 2 +- tests/qemu-iotests/183 | 2 +- tests/qemu-iotests/184 | 2 +- tests/qemu-iotests/185 | 2 +- tests/qemu-iotests/186 | 2 +- tests/qemu-iotests/187 | 2 +- tests/qemu-iotests/188 | 2 +- tests/qemu-iotests/189 | 2 +- tests/qemu-iotests/190 | 2 +- tests/qemu-iotests/191 | 2 +- tests/qemu-iotests/192 | 2 +- tests/qemu-iotests/195 | 2 +- tests/qemu-iotests/198 | 2 +- tests/qemu-iotests/200 | 2 +- tests/qemu-iotests/204 | 2 +- tests/qemu-iotests/226 | 2 +- tests/qemu-iotests/231 | 2 +- tests/qemu-iotests/check | 62 ++++++++++++++++---------------- tests/qemu-iotests/common.config | 6 ++-- tests/qemu-iotests/common.rc | 2 +- 116 files changed, 150 insertions(+), 150 deletions(-)