aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/ds1338-test.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-07-14 14:33:27 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-08 13:08:52 +0300
commit96420a30e0b509914609e45456ed3dfd47360a8c (patch)
treee31d56ce9b3cd9eed6246ac7bcd4decb1fa7d386 /tests/qtest/ds1338-test.c
parentd30b5bc95a9406b4125a35defba3a953358215cb (diff)
downloadqemu-96420a30e0b509914609e45456ed3dfd47360a8c.zip
qemu-96420a30e0b509914609e45456ed3dfd47360a8c.tar.gz
qemu-96420a30e0b509914609e45456ed3dfd47360a8c.tar.bz2
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 <mjt@tls.msk.ru> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qtest/ds1338-test.c')
-rw-r--r--tests/qtest/ds1338-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/ds1338-test.c b/tests/qtest/ds1338-test.c
index f6ade9a..d12424d 100644
--- a/tests/qtest/ds1338-test.c
+++ b/tests/qtest/ds1338-test.c
@@ -38,7 +38,7 @@ static void send_and_receive(void *obj, void *data, QGuestAllocator *alloc)
i2c_read_block(i2cdev, 0, resp, sizeof(resp));
- /* check retrieved time againt local time */
+ /* check retrieved time against local time */
g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday);
g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon);
g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year);