Skip to content

Commit 96420a3

Browse files
author
Michael Tokarev
committed
tests/: spelling fixes
with some rewording in tests/qemu-iotests/298 tests/qtest/fuzz/generic_fuzz.c tests/unit/test-throttle.c as suggested by Eric. Signed-off-by: Michael Tokarev <[email protected]> Reviewed-by: Eric Blake <[email protected]>
1 parent d30b5bc commit 96420a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+69
-69
lines changed

tests/avocado/acpi-bits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
# group: rw quick
3-
# Exercize QEMU generated ACPI/SMBIOS tables using biosbits,
3+
# Exercise QEMU generated ACPI/SMBIOS tables using biosbits,
44
# https://biosbits.org/
55
#
66
# This program is free software; you can redistribute it and/or modify
@@ -366,7 +366,7 @@ def tearDown(self):
366366
super().tearDown()
367367

368368
def test_acpi_smbios_bits(self):
369-
"""The main test case implementaion."""
369+
"""The main test case implementation."""
370370

371371
iso_file = os.path.join(self._workDir,
372372
'bits-%d.iso' %self._bitsInternalVer)

tests/avocado/acpi-bits/bits-tests/testacpi.py2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ def test_rsdp():
273273

274274
# Checksum the first 20 bytes per ACPI 1.0
275275
csum = sum(ord(c) for c in data[:20]) % 0x100
276-
testsuite.test('ACPI 1.0 table first 20 bytes cummulative checksum must equal 0', csum == 0)
277-
testsuite.print_detail("Cummulative checksum = {} (Expected 0)".format(csum))
276+
testsuite.test('ACPI 1.0 table first 20 bytes cumulative checksum must equal 0', csum == 0)
277+
testsuite.print_detail("Cumulative checksum = {} (Expected 0)".format(csum))
278278

279279
test_table_checksum(data)
280280
rsdp = acpi.parse_rsdp()

tests/decode/err_pattern_group_ident2.decode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
{
88
top 00000000 00000000 00000000 00000000
99
sub1 00000000 00000000 00000000 ........ %sub1
10-
# comments are suposed to be indented
10+
# comments are supposed to be indented
1111
}

tests/docker/common.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# the top-level directory.
1313

1414
# This might be set by ENV of a docker container... it is always
15-
# overriden by TARGET_LIST if the user sets it. We special case
15+
# overridden by TARGET_LIST if the user sets it. We special case
1616
# "none" to allow for other options like --disable-tcg to restrict the
1717
# builds we eventually do.
1818
if test "$DEF_TARGET_LIST" = "none"; then

tests/migration/guestperf-batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
#
3-
# Migration test batch comparison invokation
3+
# Migration test batch comparison invocation
44
#
55
# Copyright (c) 2016 Red Hat, Inc.
66
#

tests/migration/guestperf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
#
3-
# Migration test direct invokation command
3+
# Migration test direct invocation command
44
#
55
# Copyright (c) 2016 Red Hat, Inc.
66
#

tests/plugin/mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id,
9898
} else if (g_strcmp0(tokens[1], "rw") == 0) {
9999
rw = QEMU_PLUGIN_MEM_RW;
100100
} else {
101-
fprintf(stderr, "invaild value for argument track: %s\n", opt);
101+
fprintf(stderr, "invalid value for argument track: %s\n", opt);
102102
return -1;
103103
}
104104
} else if (g_strcmp0(tokens[0], "inline") == 0) {

tests/qapi-schema/bad-if-not.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# check 'if not' with empy argument
1+
# check 'if not' with empty argument
22
{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
33
'if': { 'not': '' } }

tests/qemu-iotests/029

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
3939
. ./common.filter
4040
. ./common.pattern
4141

42-
# Any format supporting intenal snapshots
42+
# Any format supporting internal snapshots
4343
_supported_fmt qcow2
4444
_supported_proto generic
4545
# Internal snapshots are (currently) impossible with refcount_bits=1,

tests/qemu-iotests/040

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
845845
self.assertIsNone(self.vm.node_info('cow-2'))
846846
self.assertIsNotNone(self.vm.node_info('cow-1'))
847847

848-
# 2 has been comitted into 1
848+
# 2 has been committed into 1
849849
self.pattern_files[2] = self.img1
850850

851851
def test_commit_through_filter(self):
@@ -863,7 +863,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
863863
self.assertIsNone(self.vm.node_info('bottom-filter'))
864864
self.assertIsNotNone(self.vm.node_info('cow-0'))
865865

866-
# 1 has been comitted into 0
866+
# 1 has been committed into 0
867867
self.pattern_files[1] = self.img0
868868

869869
def test_filtered_active_commit_with_filter(self):
@@ -900,7 +900,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
900900
drv0 = next(dev for dev in blockdevs if dev['qdev'] == 'drv0')
901901
self.assertEqual(drv0['inserted']['node-name'], 'cow-2')
902902

903-
# 3 has been comitted into 2
903+
# 3 has been committed into 2
904904
self.pattern_files[3] = self.img2
905905

906906
def test_filtered_active_commit_without_filter(self):
@@ -916,7 +916,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
916916
self.assertIsNone(self.vm.node_info('cow-3'))
917917
self.assertIsNotNone(self.vm.node_info('cow-2'))
918918

919-
# 3 has been comitted into 2
919+
# 3 has been committed into 2
920920
self.pattern_files[3] = self.img2
921921

922922
class TestCommitWithOverriddenBacking(iotests.QMPTestCase):

0 commit comments

Comments
 (0)