aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/comments.dts2
-rw-r--r--tests/nopulate.c2
-rwxr-xr-xtests/run_tests.sh2
-rw-r--r--tests/testutils.c6
-rw-r--r--tests/utilfdt_test.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/tests/comments.dts b/tests/comments.dts
index 0b04b6b..d315d7f 100644
--- a/tests/comments.dts
+++ b/tests/comments.dts
@@ -25,7 +25,7 @@
prop7;
/* yet
* another
- * multline
+ * multiline
* comment
*/
prop8;
diff --git a/tests/nopulate.c b/tests/nopulate.c
index e06a0b3..06f8369 100644
--- a/tests/nopulate.c
+++ b/tests/nopulate.c
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
verbose_printf("Nopulated structure block has new size %d\n", newsize);
- /* Replace old strcutre block with the new */
+ /* Replace old structure block with the new */
fdt2 = xmalloc(fdt_totalsize(fdt) + newsize);
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index f0b51c0..fecfe7c 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -805,7 +805,7 @@ dtc_tests () {
run_dtc_test -I dtb -O dts -o stdin_odts_test_tree1.dtb.test.dts - < test_tree1.dtb
run_wrap_test cmp stdin_odts_test_tree1.dtb.test.dts odts_test_tree1.dtb.test.dts
- # Check integer expresisons
+ # Check integer expressions
run_test integer-expressions -g integer-expressions.test.dts
run_dtc_test -I dts -O dtb -o integer-expressions.test.dtb integer-expressions.test.dts
run_test integer-expressions integer-expressions.test.dtb
diff --git a/tests/testutils.c b/tests/testutils.c
index 4c85111..54da2e4 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -131,7 +131,7 @@ void check_property(void *fdt, int nodeoffset, const char *name,
" differs from stored length (%d != %d)",
name, retlen, proplen);
if (proplen != len)
- FAIL("Size mismatch on property \"%s\": %d insead of %d",
+ FAIL("Size mismatch on property \"%s\": %d instead of %d",
name, proplen, len);
if (len && memcmp(val, prop->data, len) != 0)
FAIL("Data mismatch on property \"%s\"", name);
@@ -148,7 +148,7 @@ const void *check_getprop(void *fdt, int nodeoffset, const char *name,
FAIL("fdt_getprop(\"%s\"): %s", name, fdt_strerror(proplen));
if (proplen != len)
- FAIL("Size mismatch on property \"%s\": %d insead of %d",
+ FAIL("Size mismatch on property \"%s\": %d instead of %d",
name, proplen, len);
if (len && memcmp(val, propval, len) != 0)
FAIL("Data mismatch on property \"%s\"", name);
@@ -172,7 +172,7 @@ const void *check_get_prop_offset(void *fdt, int poffset, const char *exp_name,
return NULL;
if (proplen != exp_len)
- FAIL("Size mismatch on property \"%s\": %d insead of %d",
+ FAIL("Size mismatch on property \"%s\": %d instead of %d",
name, proplen, exp_len);
if (exp_len && memcmp(exp_val, propval, exp_len))
FAIL("Data mismatch on property \"%s\"", name);
diff --git a/tests/utilfdt_test.c b/tests/utilfdt_test.c
index f62341c..992807d 100644
--- a/tests/utilfdt_test.c
+++ b/tests/utilfdt_test.c
@@ -46,7 +46,7 @@ static void checkfail(const char *fmt)
* Add the given modifier to each of the valid sizes, and check that we get
* correct values.
*
- * \param modifier Modifer string to use as a prefix
+ * \param modifier Modifier string to use as a prefix
* \param expected_size The size (in bytes) that we expect (ignored for
* strings)
*/