diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fdtoverlay-runtest.sh | 2 | ||||
-rw-r--r-- | tests/fdtput-runtest.sh | 2 | ||||
-rw-r--r-- | tests/integer-expressions.c | 2 | ||||
-rwxr-xr-x | tests/run_tests.sh | 4 | ||||
-rw-r--r-- | tests/rw_oom.c | 2 | ||||
-rw-r--r-- | tests/sourceoutput.dts | 2 | ||||
-rw-r--r-- | tests/testutils.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/tests/fdtoverlay-runtest.sh b/tests/fdtoverlay-runtest.sh index c7dbc0f..7c54beb 100644 --- a/tests/fdtoverlay-runtest.sh +++ b/tests/fdtoverlay-runtest.sh @@ -1,7 +1,7 @@ #! /bin/sh # Run script for fdtoverlay tests -# We run fdtoverlay to generate a target device tree, thn fdtget to check it +# We run fdtoverlay to generate a target device tree, then fdtget to check it # Usage # fdtoverlay-runtest.sh name expected_output dtb_file node property flags value diff --git a/tests/fdtput-runtest.sh b/tests/fdtput-runtest.sh index b5beb90..a1f7b85 100644 --- a/tests/fdtput-runtest.sh +++ b/tests/fdtput-runtest.sh @@ -1,7 +1,7 @@ #! /bin/sh # Run script for fdtput tests -# We run fdtput to update the device tree, thn fdtget to check it +# We run fdtput to update the device tree, then fdtget to check it # Usage # fdtput-runtest.sh name expected_output dtb_file node property flags value diff --git a/tests/integer-expressions.c b/tests/integer-expressions.c index ed1f967..b0b2d8b 100644 --- a/tests/integer-expressions.c +++ b/tests/integer-expressions.c @@ -97,7 +97,7 @@ int main(int argc, char *argv[]) res = fdt_getprop(fdt, 0, "expressions", &reslen); if (!res) - FAIL("Error retreiving expression results: %s\n", + FAIL("Error retrieving expression results: %s\n", fdt_strerror(reslen)); if (reslen != (ARRAY_SIZE(expr_table) * sizeof(uint32_t))) diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 07c3489..646a4d9 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -287,7 +287,7 @@ dtc_overlay_tests () { run_dtc_test -I dts -O dtb -o overlay_overlay_decompile.test.dtb overlay_overlay_decompile.test.dts run_test dtbs_equal_ordered overlay_overlay.test.dtb overlay_overlay_decompile.test.dtb - # Test generation of aliases insted of symbols + # Test generation of aliases instead of symbols run_dtc_test -A -I dts -O dtb -o overlay_base_with_aliases.dtb overlay_base.dts run_test check_path overlay_base_with_aliases.dtb exists "/aliases" run_test check_path overlay_base_with_aliases.dtb not-exists "/__symbols__" @@ -874,7 +874,7 @@ fdtput_tests () { "-ts" "fine wine" run_wrap_test $DTPUT $dtb -p /you/are/drunk/sir/winston slurp -ts twice - # Test expansion of the blob when insufficent room for a new node + # Test expansion of the blob when insufficient room for a new node run_wrap_test $DTPUT $dtb -cp "$(cat $text $text)/longish" # Allowed to create an existing node with -p diff --git a/tests/rw_oom.c b/tests/rw_oom.c index a787dc2..24bfe05 100644 --- a/tests/rw_oom.c +++ b/tests/rw_oom.c @@ -29,7 +29,7 @@ #include "tests.h" #include "testdata.h" -/* This is not derived programatically. May require adjustment to changes. */ +/* This is not derived programmatically. May require adjustment to changes. */ #define SPACE 285 #define CHECK(code) \ diff --git a/tests/sourceoutput.dts b/tests/sourceoutput.dts index 477762f..5a7459b 100644 --- a/tests/sourceoutput.dts +++ b/tests/sourceoutput.dts @@ -2,7 +2,7 @@ / { /* Some versions had an off-by-2 bug which caused an abort - * when outputing labels within strings like this in source + * when outputting labels within strings like this in source * format */ prop1: prop1 = start1: "foo", mid1: "bar" end1: ; diff --git a/tests/testutils.c b/tests/testutils.c index a250d5a..24bd81e 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -112,7 +112,7 @@ void check_property(void *fdt, int nodeoffset, const char *name, prop = fdt_get_property(fdt, nodeoffset, name, &retlen); verbose_printf("pointer %p\n", prop); if (! prop) - FAIL("Error retreiving \"%s\" pointer: %s", name, + FAIL("Error retrieving \"%s\" pointer: %s", name, fdt_strerror(retlen)); tag = fdt32_to_cpu(prop->tag); |