aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZheng Guangyuan <1628513611@qq.com>2024-04-28 13:47:07 +0800
committerDavid Gibson <david@gibson.dropbear.id.au>2024-05-01 16:50:19 +1000
commit4dd831affd015efbb6e0a56d55ac5ef7812af97a (patch)
tree68b34afbb3a57d080a68270ff6474307f82179a9
parente6d2942008379e750740de54152efa586dc5d7b8 (diff)
downloaddtc-4dd831affd015efbb6e0a56d55ac5ef7812af97a.tar.gz
libfdt: tests: Update test case for overlay_bad_fixup
Changed the target DTS from overlay_base_no_symbols.test.dtb to overlay_base_manual_symbols.test.dtb. This ensures that the test case doesn't exit prematurely due to the absence of label-linked phandle in the symbols node. The update guarantees that the test case appropriately checks the validity of the fixup string linked to the label, as intended. Signed-off-by: Zheng Guangyuan <1628513611@qq.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rwxr-xr-xtests/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 462f2ca..b14c864 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -269,7 +269,7 @@ libfdt_overlay_tests () {
for test in $BAD_FIXUP_TREES; do
tree="overlay_bad_fixup_$test"
run_dtc_test -I dts -O dtb -o $tree.test.dtb "$SRCDIR/$tree.dts"
- run_test overlay_bad_fixup overlay_base_no_symbols.test.dtb $tree.test.dtb
+ run_test overlay_bad_fixup overlay_base_manual_symbols.test.dtb $tree.test.dtb
done
run_sh_test "$SRCDIR/dtc-fatal.sh" -I dts -O dtb -o /dev/null "$SRCDIR/fixup-ref-to-path.dts"
}