On 17.09.19 13:04, Kevin Wolf wrote: > Signed-off-by: Kevin Wolf <[email protected]> > --- > tests/qemu-iotests/267 | 165 ++++++++++++++++++++++++++++ > tests/qemu-iotests/267.out | 182 +++++++++++++++++++++++++++++++ > tests/qemu-iotests/common.filter | 5 +- > tests/qemu-iotests/group | 1 + > 4 files changed, 349 insertions(+), 4 deletions(-) > create mode 100755 tests/qemu-iotests/267 > create mode 100644 tests/qemu-iotests/267.out > > diff --git a/tests/qemu-iotests/267 b/tests/qemu-iotests/267 > new file mode 100755 > index 0000000000..0d085c60a7 > --- /dev/null > +++ b/tests/qemu-iotests/267 > @@ -0,0 +1,165 @@ > +#!/usr/bin/env bash > +# > +# Test which nodes are involved in internal snapshots > +# > +# Copyright (C) 2019 Red Hat, Inc. > +# > +# This program is free software; you can redistribute it and/or modify > +# it under the terms of the GNU General Public License as published by > +# the Free Software Foundation; either version 2 of the License, or > +# (at your option) any later version. > +# > +# This program is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +# GNU General Public License for more details. > +# > +# You should have received a copy of the GNU General Public License > +# along with this program. If not, see <http://www.gnu.org/licenses/>. > +# > + > +# creator > [email protected] > + > +seq=`basename $0` > +echo "QA output created by $seq" > + > +status=1 # failure is the default! > + > +_cleanup() > +{ > + _cleanup_test_img > + rm -f "$TEST_DIR/nbd" > +} > +trap "_cleanup; exit \$status" 0 1 2 3 15 > + > +# get standard environment, filters and checks > +. ./common.rc > +. ./common.filter > + > +_supported_fmt qcow2 > +_supported_proto file > +_supported_os Linux
This needs some restriction on what refcount_bits are supported. (because it naturally fails with refcount_bits=1) Max
signature.asc
Description: OpenPGP digital signature
