@@ -2,3 +2,3 @@
# group: rw quick
-# Exercize QEMU generated ACPI/SMBIOS tables using biosbits,
+# Exercise QEMU generated ACPI/SMBIOS tables using biosbits,
# https://biosbits.org/
@@ -368,3 +368,3 @@ def tearDown(self):
def test_acpi_smbios_bits(self):
- """The main test case implementaion."""
+ """The main test case implementation."""
@@ -275,4 +275,4 @@ def test_rsdp():
csum = sum(ord(c) for c in data[:20]) % 0x100
- testsuite.test('ACPI 1.0 table first 20 bytes cummulative checksum must equal 0', csum == 0)
- testsuite.print_detail("Cummulative checksum = {} (Expected 0)".format(csum))
+ testsuite.test('ACPI 1.0 table first 20 bytes cumulative checksum must equal 0', csum == 0)
+ testsuite.print_detail("Cumulative checksum = {} (Expected 0)".format(csum))
@@ -9,3 +9,3 @@
sub1 00000000 00000000 00000000 ........ %sub1
-# comments are suposed to be indented
+# comments are supposed to be indented
}
@@ -14,3 +14,3 @@
# This might be set by ENV of a docker container... it is always
-# overriden by TARGET_LIST if the user sets it. We special case
+# overridden by TARGET_LIST if the user sets it. We special case
# "none" to allow for other options like --disable-tcg to restrict the
@@ -2,3 +2,3 @@
#
-# Migration test batch comparison invokation
+# Migration test batch comparison invocation
#
@@ -2,3 +2,3 @@
#
-# Migration test direct invokation command
+# Migration test direct invocation command
#
@@ -100,3 +100,3 @@ QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id,
} else {
- fprintf(stderr, "invaild value for argument track: %s\n", opt);
+ fprintf(stderr, "invalid value for argument track: %s\n", opt);
return -1;
@@ -1,2 +1,2 @@
-# check 'if not' with empy argument
+# check 'if not' with empty argument
{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
@@ -41,3 +41,3 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
-# Any format supporting intenal snapshots
+# Any format supporting internal snapshots
_supported_fmt qcow2
@@ -847,3 +847,3 @@ class TestCommitWithFilters(iotests.QMPTestCase):
- # 2 has been comitted into 1
+ # 2 has been committed into 1
self.pattern_files[2] = self.img1
@@ -865,3 +865,3 @@ class TestCommitWithFilters(iotests.QMPTestCase):
- # 1 has been comitted into 0
+ # 1 has been committed into 0
self.pattern_files[1] = self.img0
@@ -902,3 +902,3 @@ class TestCommitWithFilters(iotests.QMPTestCase):
- # 3 has been comitted into 2
+ # 3 has been committed into 2
self.pattern_files[3] = self.img2
@@ -918,3 +918,3 @@ class TestCommitWithFilters(iotests.QMPTestCase):
- # 3 has been comitted into 2
+ # 3 has been committed into 2
self.pattern_files[3] = self.img2
@@ -127,3 +127,3 @@ EOF
# Sequential write, but the next cluster is already allocated
-# and phyiscally in the right position
+# and physically in the right position
cat <<EOF
@@ -184,3 +184,3 @@ echo "=== Testing afl image with a very large capacity ==="
_use_sample_img afl9.vmdk.bz2
-_img_info | grep -q 'Cannot allocate memory' && _notrun "Insufficent memory, skipped test"
+_img_info | grep -q 'Cannot allocate memory' && _notrun "Insufficient memory, skipped test"
_img_info
@@ -51,3 +51,3 @@ _supported_os Linux
# we don't have explicit tests for zstd qcow2 compression type, as zstd may be
-# not compiled in. And we can't create compat images with comression type
+# not compiled in. And we can't create compat images with compression type
# extension
@@ -43,3 +43,3 @@ _require_drivers blkdebug blkverify
# blkdebug can only inject errors on bs->file, not on the data_file,
-# so thie test does not work with external data files
+# so this test does not work with external data files
_unsupported_imgopts data_file
@@ -95,3 +95,3 @@ case $output in
*allocate*)
- _notrun "Insufficent memory to run test" ;;
+ _notrun "Insufficient memory to run test" ;;
*) printf '%s\n' "$output" ;;
@@ -97,3 +97,3 @@ case $output in
*allocate*)
- _notrun "Insufficent memory to run test" ;;
+ _notrun "Insufficient memory to run test" ;;
*) printf '%s\n' "$output" ;;
@@ -143,3 +143,3 @@ class TestTruncate(iotests.QMPTestCase):
# Probably we'll want preallocate filter to keep align to cluster when
- # shrink preallocation, so, ignore small differece
+ # shrink preallocation, so, ignore small difference
self.assertLess(abs(stat.st_size - refstat.st_size), 64 * 1024)
@@ -6,3 +6,3 @@
# file where it should appear only once). You can also use "--disable=all" to
-# disable everything first and then reenable specific checks. For example, if
+# disable everything first and then re-enable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
@@ -21,3 +21,3 @@ disable=invalid-name,
unsubscriptable-object,
- # pylint's static analysis causes false positivies for file_path();
+ # pylint's static analysis causes false positives for file_path();
# If we really care to make it statically knowable, we'll use mypy.
@@ -332,3 +332,3 @@ static void ahci_test_pci_spec(AHCIQState *ahci)
- /* Check specification adherence for capability extenstions. */
+ /* Check specification adherence for capability extensions. */
data = qpci_config_readw(ahci->dev, datal);
@@ -27,3 +27,3 @@
-/* DMA Trasfer Info fields: */
+/* DMA Transfer Info fields: */
#define BCM2708_DMA_INT_EN (1 << 0)
@@ -28,3 +28,3 @@
* this will produce a bunch of warnings about differences
- * beween actual and expected ACPI tables. If you have IASL installed,
+ * between actual and expected ACPI tables. If you have IASL installed,
* they will also be disassembled so you can look at the disassembled
@@ -40,3 +40,3 @@ static void send_and_receive(void *obj, void *data, QGuestAllocator *alloc)
- /* check retrieved time againt local time */
+ /* check retrieved time against local time */
g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday);
@@ -848,5 +848,5 @@ static void generic_pre_fuzz(QTestState *s)
* This function attempts to produce an input that:
- * Ouptut: maps a device's BARs, set up three DMA patterns, triggers
+ * Output: maps a device's BARs, set up three DMA patterns, triggers
* functionality A device, replaces the DMA patterns with a single
- * patten, and triggers device functionality B.
+ * pattern, and triggers device functionality B.
*/
@@ -56,3 +56,3 @@ struct QOSStackElement {
-/* Each enty in these hash table will consist of <string, node/edge> pair. */
+/* Each entry in these hash table will consist of <string, node/edge> pair. */
static GHashTable *edge_table;
@@ -216,3 +216,3 @@ static QOSGraphEdge *search_list_edges(QOSGraphEdgeList *edgelist,
* table. A machine is the child of the root node.
- * This function forces the research in the childs of the root,
+ * This function forces the research in the children of the root,
* to check the node is a proper machine
@@ -199,3 +199,3 @@ char *qos_graph_edge_get_name(QOSGraphEdge *edge);
*
- * It performs a search only trough the list of machines
+ * It performs a search only through the list of machines
* (i.e. the QOS_ROOT child).
@@ -30,3 +30,3 @@ static void virtio_gpio_cleanup(QVhostUserGPIO *gpio)
* This handles the VirtIO setup from the point of view of the driver
- * frontend and therefor doesn't present any vhost specific features
+ * frontend and therefore doesn't present any vhost specific features
* and in fact masks of the re-used bit.
@@ -114,3 +114,3 @@ static int socket_accept(int sock)
/*
- * timeout unit of blocking receive calls is different among platfoms.
+ * timeout unit of blocking receive calls is different among platforms.
* It's in seconds on non-Windows platforms but milliseconds on Windows.
@@ -1693,3 +1693,3 @@ QTestState *qtest_inproc_init(QTestState **s, bool log, const char* arch,
- /* send() may not have a matching protoype, so use a type-safe wrapper */
+ /* send() may not have a matching prototype, so use a type-safe wrapper */
qts->ops.external_send = send;
@@ -488,3 +488,3 @@ static void migrate_ensure_converge(QTestState *who)
* Finally we go back to the source and read a byte just
- * before the marker untill we see it flip in value. This
+ * before the marker until we see it flip in value. This
* is proof that start_address -> MAGIC_OFFSET_BASE
@@ -834,3 +834,3 @@ static int test_migrate_start(QTestState **from, QTestState **to,
* Remove shmem file immediately to avoid memory leak in test failed case.
- * It's valid becase QEMU has already opened this file
+ * It's valid because QEMU has already opened this file
*/
@@ -2109,3 +2109,3 @@ static void test_migrate_auto_converge(void)
* We want the test to be stable and as fast as possible.
- * E.g., with 1Gb/s bandwith migration may pass without throttling,
+ * E.g., with 1Gb/s bandwidth migration may pass without throttling,
* so we need to decrease a bandwidth.
@@ -386,3 +386,3 @@ static void test_pause_resume(gconstpointer test_data)
-/* Verifies that the prescaler can be changed while the timer is runnin. */
+/* Verifies that the prescaler can be changed while the timer is running. */
static void test_prescaler_change(gconstpointer test_data)
@@ -79,3 +79,3 @@ static void *tpm_emu_tpm_thread(void *data)
default:
- g_debug("unsupport TPM version %u", s->tpm_version);
+ g_debug("unsupported TPM version %u", s->tpm_version);
g_assert_not_reached();
@@ -1,3 +1,3 @@
/*
- * QTest TPM commont test code
+ * QTest TPM common test code
*
@@ -1,3 +1,3 @@
/*
- * QTest TPM commont test code
+ * QTest TPM common test code
*
@@ -470,3 +470,3 @@ static void tpm_tis_i2c_test_check_access_reg_release(const void *data)
* highest locality should now be active; release it and make sure the
- * next higest locality is active afterwards
+ * next highest locality is active afterwards
*/
@@ -342,3 +342,3 @@ void tpm_tis_test_check_access_reg_release(const void *data)
* highest locality should now be active; release it and make sure the
- * next higest locality is active afterwards
+ * next highest locality is active afterwards
*/
@@ -963,3 +963,3 @@ static void *vhost_user_blk_test_setup(GString *cmd_line, void *arg)
* Since vhost-user server only serves one vhost-user client one time,
- * another exprot
+ * another export
*
@@ -214,3 +214,3 @@ static void announce_self(void *obj, void *data, QGuestAllocator *t_alloc)
/*
- * Stop the announcment by settings rounds to 0 on the
+ * Stop the announcement by settings rounds to 0 on the
* existing timer.
@@ -21,3 +21,3 @@
#define VMGENID_GUID_OFFSET 40 /* allow space for
- * OVMF SDT Header Probe Supressor
+ * OVMF SDT Header Probe Suppressor
*/
@@ -9,3 +9,3 @@ mutex:pthread_mutex_lock
-# TSan reports a race betwen pthread_mutex_init() and
+# TSan reports a race between pthread_mutex_init() and
# pthread_mutex_lock(). Since this is outside of QEMU,
@@ -89,3 +89,3 @@ Build/%.fat: Build/%.efi
# In turn, the "build" utility of edk2 BaseTools invokes another "make".
-# Although the outer "make" process advertizes its job server to all child
+# Although the outer "make" process advertises its job server to all child
# processes via MAKEFLAGS in the environment, the outer "make" closes the job
@@ -1488,3 +1488,3 @@ int main(int argc, char **argv)
g_test_add_func("/literals/interpolation/valid", interpolation_valid);
- g_test_add_func("/literals/interpolation/unkown", interpolation_unknown);
+ g_test_add_func("/literals/interpolation/unknown", interpolation_unknown);
g_test_add_func("/literals/interpolation/string", interpolation_string);
@@ -456,3 +456,3 @@ static void test_timer_schedule(void)
- /* timer_mod may well cause an event notifer to have gone off,
+ /* timer_mod may well cause an event notifier to have gone off,
* so clear that
@@ -100,5 +100,5 @@ static BlockDriverState *exclusive_writer_node(const char *name)
* v
- * +-------------------+ +----------------+
- * | passtrough filter |---------->| null-co node |
- * +-------------------+ +----------------+
+ * +--------------------+ +----------------+
+ * | passthrough filter |--------->| null-co node |
+ * +--------------------+ +----------------+
*
@@ -116,5 +116,5 @@ static BlockDriverState *exclusive_writer_node(const char *name)
* v
- * +-------------------+
- * | passtrough filter |
- * +-------------------+
+ * +--------------------+
+ * | passthrough filter |
+ * +--------------------+
* | |
@@ -246,3 +246,3 @@ static void test_secret_keyring_bad_key_access_right(void)
- g_test_skip("TODO: Need responce from Linux kernel maintainers");
+ g_test_skip("TODO: Need response from Linux kernel maintainers");
return;
@@ -96,3 +96,3 @@ Visitor *visitor_input_test_init(TestInputVisitorData *data,
* literal/format json_string argument and so can be used for
- * programatically generated strings (and we can't pass in programatically
+ * programmatically generated strings (and we can't pass in programmatically
* generated strings via %s format parameters since qobject_from_jsonv()
@@ -137,3 +137,3 @@ static void test_compute_wait(void)
/* We can do bursts for the 2 seconds we have configured in
- * burst_length. We have 100 extra miliseconds of burst
+ * burst_length. We have 100 extra milliseconds of burst
* because bkt.level has been leaking during this time.
@@ -381,3 +381,3 @@ static void test_is_valid(void)
test_is_valid_for_value(0, true);
- /* positives numers are valids */
+ /* positives numbers are valids */
test_is_valid_for_value(1, true);
@@ -134,3 +134,3 @@ qemu_file_monitor_test_record_free(QFileMonitorTestRecord *rec)
* loop, we can't assume there is a record available
- * immediately. Thus we will sleep for upto 5 seconds
+ * immediately. Thus we will sleep for up to 5 seconds
* to wait for the event to be queued for us.
@@ -364,3 +364,3 @@ static void test_xs_node_simple(void)
- /* Even if we use an abolute path */
+ /* Even if we use an absolute path */
g_byte_array_set_size(data, 0);
@@ -83,3 +83,3 @@ endif
@echo " TARGET_LIST=a,b,c - Override target list in builds"
- @echo " V=1 - Enable verbose ouput on host and guest commands"
+ @echo " V=1 - Enable verbose output on host and guest commands"
@@ -53,3 +53,3 @@ def build_image(self, img):
# Issue the install commands.
- # This can be overriden by the user in the config .yml.
+ # This can be overridden by the user in the config .yml.
install_cmds = self._config['install_cmds'].split(',')
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> --- tests/avocado/acpi-bits.py | 4 ++-- tests/avocado/acpi-bits/bits-tests/testacpi.py2 | 4 ++-- tests/decode/err_pattern_group_ident2.decode | 2 +- tests/docker/common.rc | 2 +- tests/migration/guestperf-batch.py | 2 +- tests/migration/guestperf.py | 2 +- tests/plugin/mem.c | 2 +- tests/qapi-schema/bad-if-not.json | 2 +- tests/qemu-iotests/029 | 2 +- tests/qemu-iotests/040 | 8 ++++---- tests/qemu-iotests/046 | 2 +- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/061 | 2 +- tests/qemu-iotests/071 | 2 +- tests/qemu-iotests/197 | 2 +- tests/qemu-iotests/215 | 2 +- tests/qemu-iotests/298 | 2 +- tests/qemu-iotests/pylintrc | 4 ++-- tests/qtest/ahci-test.c | 2 +- tests/qtest/bcm2835-dma-test.c | 2 +- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/ds1338-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 4 ++-- tests/qtest/libqos/qgraph.c | 4 ++-- tests/qtest/libqos/qgraph_internal.h | 2 +- tests/qtest/libqos/virtio-gpio.c | 2 +- tests/qtest/libqtest.c | 4 ++-- tests/qtest/migration-test.c | 6 +++--- tests/qtest/npcm7xx_timer-test.c | 2 +- tests/qtest/tpm-emu.c | 2 +- tests/qtest/tpm-tests.c | 2 +- tests/qtest/tpm-tests.h | 2 +- tests/qtest/tpm-tis-i2c-test.c | 2 +- tests/qtest/tpm-tis-util.c | 2 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/virtio-net-test.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- tests/tsan/suppressions.tsan | 2 +- tests/uefi-test-tools/Makefile | 2 +- tests/unit/check-qjson.c | 2 +- tests/unit/test-aio.c | 2 +- tests/unit/test-bdrv-graph-mod.c | 12 ++++++------ tests/unit/test-crypto-secret.c | 2 +- tests/unit/test-qobject-input-visitor.c | 2 +- tests/unit/test-throttle.c | 4 ++-- tests/unit/test-util-filemonitor.c | 2 +- tests/unit/test-xs-node.c | 2 +- tests/vm/Makefile.include | 2 +- tests/vm/ubuntuvm.py | 2 +- 49 files changed, 66 insertions(+), 66 deletions(-)