spapr/xive: Add proper rollback to kvmppc_xive_connect()
[qemu/ar7.git] / tests / acceptance / version.py
blob67c2192c9320aba1f0b4001436b24e1cb47c9c1e
1 # Version check example test
3 # Copyright (c) 2018 Red Hat, Inc.
5 # Author:
6 # Cleber Rosa <crosa@redhat.com>
8 # This work is licensed under the terms of the GNU GPL, version 2 or
9 # later. See the COPYING file in the top-level directory.
12 from avocado_qemu import Test
15 class Version(Test):
16 """
17 :avocado: tags=quick
18 """
19 def test_qmp_human_info_version(self):
20 self.vm.launch()
21 res = self.vm.command('human-monitor-command',
22 command_line='info version')
23 self.assertRegexpMatches(res, r'^(\d+\.\d+\.\d)')