Fix test relying in wrong behavior of is_printable

Pantelis Antoniou panto at antoniou-consulting.com
Sat Jan 5 06:16:08 EST 2013


After fixing the is_printable bug the test suite fails.
Fix it with this patch

Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>
---
 tests/run_tests.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index dd7f217..43279c9 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -498,9 +498,8 @@ fdtget_tests () {
 
     # run_fdtget_test <expected-result> [<flags>] <file> <node> <property>
     run_fdtget_test "MyBoardName" $dtb / model
-    run_fdtget_test "77 121 66 111 \
-97 114 100 78 97 109 101 0 77 121 66 111 97 114 100 70 97 109 105 \
-108 121 78 97 109 101 0" $dtb / compatible
+    # run_fdtget_test "77 121 66 111 97 114 100 78 97 109 101 0 77 121 66 111 97 114 100 70 97 109 105 108 121 78 97 109 101 0" $dtb / compatible
+    run_fdtget_test "MyBoardName MyBoardFamilyName" $dtb / compatible
     run_fdtget_test "MyBoardName MyBoardFamilyName" -t s $dtb / compatible
     run_fdtget_test 32768 $dtb /cpus/PowerPC,970 at 1 d-cache-size
     run_fdtget_test 8000 -tx $dtb /cpus/PowerPC,970 at 1 d-cache-size
-- 
1.7.12



More information about the devicetree-discuss mailing list