Am 16.01.2021 um 14:44 hat Vladimir Sementsov-Ogievskiy geschrieben: > Add TestEnv class, which will handle test environment in a new python > iotests running framework. > > Difference with current ./check interface: > - -v (verbose) option dropped, as it is unused > > - -xdiff option is dropped, until somebody complains that it is needed > - same for -n option > - same for looking for binaries in $build_iotests directory. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
> + if self.imgfmt == 'luks': > + self.imgoptssyntax = 'true' > + self.imgkeysecret = '123456' > + if not self.imgopts: > + self.imgopts = 'iter-time=10' > + elif 'iter-time=' not in self.imgopts: > + self.imgopts += ',iter-time=10' > + else: > + self.imgoptssyntax = 'false' > + self.qemu_io_options += ' -f ' + self.imgfmt > + > + if self.imgfmt == 'vmkd': This should be 'vmdk', of course. > + if not self.imgopts: > + self.imgopts = 'zeroed_grain=on' > + elif 'zeroed_grain=' not in self.imgopts: > + self.imgopts += ',zeroed_grain=on' Kevin