diff mbox series

[2/4] dts: Add compatible property to fake processors

Message ID 20200624043856.175528-3-amitay@ozlabs.org
State Superseded
Headers show
Series Test improvements | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (b6c27db099e771af2a09abef90154251cc5b6ff5)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs June 24, 2020, 4:38 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 fake.dts.m4              |   1 +
 fake2.dts.m4             |   1 +
 tests/test_selection.sh  |  86 +++++++++++-----------
 tests/test_selection2.sh | 152 +++++++++++++++++++--------------------
 tests/test_tree.sh       |   8 +++
 tests/test_tree2.sh      |   8 +++
 6 files changed, 137 insertions(+), 119 deletions(-)
diff mbox series

Patch

diff --git a/fake.dts.m4 b/fake.dts.m4
index 190597a..4ebb2f5 100644
--- a/fake.dts.m4
+++ b/fake.dts.m4
@@ -79,6 +79,7 @@  define(`dump_system',
 `
     CONCAT(proc,i) {
       index = < CONCAT(0x,i) >;
+      compatible = "ibm,fake-proc";
 
 dump_processor(i, $2, $3)
     };
diff --git a/fake2.dts.m4 b/fake2.dts.m4
index f71caa2..f8b2827 100644
--- a/fake2.dts.m4
+++ b/fake2.dts.m4
@@ -16,6 +16,7 @@  define(`dump_system',
 `
     CONCAT(proc,i) {
       index = < CONCAT(0x,i) >;
+      compatible = "ibm,fake-proc";
     };
 ')
 ')
diff --git a/tests/test_selection.sh b/tests/test_selection.sh
index 0931051..04b3a1c 100755
--- a/tests/test_selection.sh
+++ b/tests/test_selection.sh
@@ -23,7 +23,7 @@  test_run pdbg -b fake probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core0: Fake Core (*)
@@ -38,7 +38,7 @@  proc0:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI (*)
     pib1: Fake PIB (*)
         core0: Fake Core (*)
@@ -53,7 +53,7 @@  proc1:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI (*)
     pib2: Fake PIB (*)
         core0: Fake Core (*)
@@ -68,7 +68,7 @@  proc2:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI (*)
     pib3: Fake PIB (*)
         core0: Fake Core (*)
@@ -83,7 +83,7 @@  proc3:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI (*)
     pib4: Fake PIB (*)
         core0: Fake Core (*)
@@ -98,7 +98,7 @@  proc4:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI (*)
     pib5: Fake PIB (*)
         core0: Fake Core (*)
@@ -113,7 +113,7 @@  proc5:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI (*)
     pib6: Fake PIB (*)
         core0: Fake Core (*)
@@ -128,7 +128,7 @@  proc6:
         core3: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI (*)
     pib7: Fake PIB (*)
         core0: Fake Core (*)
@@ -150,7 +150,7 @@  test_run pdbg -b fake -a probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core0: Fake Core (*)
@@ -172,49 +172,49 @@  test_run pdbg -b fake -p0 -a probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI (*)
     pib1: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI (*)
     pib2: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI (*)
     pib3: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI (*)
     pib4: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI (*)
     pib5: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI (*)
     pib6: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI (*)
     pib7: Fake PIB (*)
         core0: Fake Core (*)
@@ -227,7 +227,7 @@  test_run pdbg -b fake -c0 -a probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core0: Fake Core (*)
@@ -238,7 +238,7 @@  proc0:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI (*)
     pib1: Fake PIB (*)
         core0: Fake Core (*)
@@ -249,7 +249,7 @@  proc1:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI (*)
     pib2: Fake PIB (*)
         core0: Fake Core (*)
@@ -260,7 +260,7 @@  proc2:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI (*)
     pib3: Fake PIB (*)
         core0: Fake Core (*)
@@ -271,7 +271,7 @@  proc3:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI (*)
     pib4: Fake PIB (*)
         core0: Fake Core (*)
@@ -282,7 +282,7 @@  proc4:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI (*)
     pib5: Fake PIB (*)
         core0: Fake Core (*)
@@ -293,7 +293,7 @@  proc5:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI (*)
     pib6: Fake PIB (*)
         core0: Fake Core (*)
@@ -304,7 +304,7 @@  proc6:
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI (*)
     pib7: Fake PIB (*)
         core0: Fake Core (*)
@@ -322,7 +322,7 @@  test_run pdbg -b fake -t0 -a probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core2: Fake Core (*)
@@ -335,7 +335,7 @@  test_run pdbg -b fake -p0 -c2 -a probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core2: Fake Core (*)
@@ -347,27 +347,27 @@  test_run pdbg -b fake -p0 -c2 -t1 -a probe
 
 
 test_result 0 <<EOF
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI (*)
     pib1: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI (*)
     pib2: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI (*)
     pib3: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI (*)
     pib5: Fake PIB (*)
         core0: Fake Core (*)
             thread0: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI (*)
     pib6: Fake PIB (*)
         core0: Fake Core (*)
@@ -379,7 +379,7 @@  test_run pdbg -b fake -p1-3,5,5-6 -c0 -t0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
 EOF
@@ -429,7 +429,7 @@  test_run pdbg -b fake -t0 -p0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core0: Fake Core (*)
@@ -440,7 +440,7 @@  test_run pdbg -b fake -c0 -p0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI (*)
     pib0: Fake PIB (*)
         core0: Fake Core (*)
@@ -452,28 +452,28 @@  test_run pdbg -b fake -t0 -c0 -p0 probe
 
 
 test_result 0 <<EOF
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI (*)
     pib1: Fake PIB (*)
         core1: Fake Core (*)
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI (*)
     pib3: Fake PIB (*)
         core1: Fake Core (*)
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI (*)
     pib5: Fake PIB (*)
         core1: Fake Core (*)
             thread0: Fake Thread (*)
         core3: Fake Core (*)
             thread0: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI (*)
     pib7: Fake PIB (*)
         core1: Fake Core (*)
@@ -487,28 +487,28 @@  test_run pdbg -b fake -p1,3,5,7,9 -c1,3,5 -t0,2 probe
 
 
 test_result 0 <<EOF
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI (*)
     pib1: Fake PIB (*)
         core1: Fake Core (*)
             thread1: Fake Thread (*)
         core3: Fake Core (*)
             thread1: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI (*)
     pib3: Fake PIB (*)
         core1: Fake Core (*)
             thread1: Fake Thread (*)
         core3: Fake Core (*)
             thread1: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI (*)
     pib5: Fake PIB (*)
         core1: Fake Core (*)
             thread1: Fake Thread (*)
         core3: Fake Core (*)
             thread1: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI (*)
     pib7: Fake PIB (*)
         core1: Fake Core (*)
diff --git a/tests/test_selection2.sh b/tests/test_selection2.sh
index add51c0..d7f900f 100755
--- a/tests/test_selection2.sh
+++ b/tests/test_selection2.sh
@@ -14,7 +14,7 @@  do_skip ()
 }
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
@@ -29,7 +29,7 @@  proc0:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core
@@ -44,7 +44,7 @@  proc1:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core
@@ -59,7 +59,7 @@  proc2:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core
@@ -74,7 +74,7 @@  proc3:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core0: Fake Core
@@ -89,7 +89,7 @@  proc4:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core
@@ -104,7 +104,7 @@  proc5:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core
@@ -119,7 +119,7 @@  proc6:
         core3: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core0: Fake Core
@@ -141,7 +141,7 @@  test_run pdbg -b fake -P thread probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
@@ -163,49 +163,49 @@  test_run pdbg -b fake -P pib0/thread probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
             thread1: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core0: Fake Core
@@ -218,7 +218,7 @@  test_run pdbg -b fake -P core0/thread probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
@@ -229,7 +229,7 @@  proc0:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core
@@ -240,7 +240,7 @@  proc1:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core
@@ -251,7 +251,7 @@  proc2:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core
@@ -262,7 +262,7 @@  proc3:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core0: Fake Core
@@ -273,7 +273,7 @@  proc4:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core
@@ -284,7 +284,7 @@  proc5:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core
@@ -295,7 +295,7 @@  proc6:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core0: Fake Core
@@ -313,7 +313,7 @@  test_run pdbg -b fake -P thread0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core2: Fake Core
@@ -326,7 +326,7 @@  test_run pdbg -b fake -P pib0/core2/thread probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core2: Fake Core
@@ -338,27 +338,27 @@  test_run pdbg -b fake -P pib0/core2/thread1 probe
 
 
 test_result 0 <<EOF
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core
@@ -370,7 +370,7 @@  test_run pdbg -b fake -P pib[1-3,5,5-6]/core0/thread0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB (*)
 EOF
@@ -380,35 +380,35 @@  test_run pdbg -b fake -P pib0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core0: Fake Core (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core0: Fake Core (*)
@@ -419,7 +419,7 @@  test_run pdbg -b fake -P core0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
@@ -430,7 +430,7 @@  proc0:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core
@@ -441,7 +441,7 @@  proc1:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core
@@ -452,7 +452,7 @@  proc2:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core
@@ -463,7 +463,7 @@  proc3:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core0: Fake Core
@@ -474,7 +474,7 @@  proc4:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core
@@ -485,7 +485,7 @@  proc5:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core
@@ -496,7 +496,7 @@  proc6:
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core0: Fake Core
@@ -514,42 +514,42 @@  test_run pdbg -b fake -P thread0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core0: Fake Core
             thread0: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core0: Fake Core
@@ -561,7 +561,7 @@  test_run pdbg -b fake -P core0/thread0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
@@ -579,7 +579,7 @@  test_run pdbg -b fake -P pib0/thread0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core (*)
@@ -590,7 +590,7 @@  test_run pdbg -b fake -P pib0/core0 probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core0: Fake Core
@@ -602,28 +602,28 @@  test_run pdbg -b fake -P pib0/core0/thread0 probe
 
 
 test_result 0 <<EOF
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core1: Fake Core
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core1: Fake Core
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core1: Fake Core
             thread0: Fake Thread (*)
         core3: Fake Core
             thread0: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core1: Fake Core
@@ -637,28 +637,28 @@  test_run pdbg -b fake -P pib[1,3,5,7,9]/core[1,3,5]/thread[0,2] probe
 
 
 test_result 0 <<EOF
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core1: Fake Core
             thread1: Fake Thread (*)
         core3: Fake Core
             thread1: Fake Thread (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core1: Fake Core
             thread1: Fake Thread (*)
         core3: Fake Core
             thread1: Fake Thread (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core1: Fake Core
             thread1: Fake Thread (*)
         core3: Fake Core
             thread1: Fake Thread (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core1: Fake Core
@@ -689,35 +689,35 @@  test_run pdbg -b fake -P "fsi/pib" probe
 
 
 test_result 0 <<EOF
-proc0:
+proc0: Fake Processor
     fsi0: Fake FSI
     pib0: Fake PIB
         core3: Fake Core (*)
-proc1:
+proc1: Fake Processor
     fsi1: Fake FSI
     pib1: Fake PIB
         core3: Fake Core (*)
-proc2:
+proc2: Fake Processor
     fsi2: Fake FSI
     pib2: Fake PIB
         core3: Fake Core (*)
-proc3:
+proc3: Fake Processor
     fsi3: Fake FSI
     pib3: Fake PIB
         core3: Fake Core (*)
-proc4:
+proc4: Fake Processor
     fsi4: Fake FSI
     pib4: Fake PIB
         core3: Fake Core (*)
-proc5:
+proc5: Fake Processor
     fsi5: Fake FSI
     pib5: Fake PIB
         core3: Fake Core (*)
-proc6:
+proc6: Fake Processor
     fsi6: Fake FSI
     pib6: Fake PIB
         core3: Fake Core (*)
-proc7:
+proc7: Fake Processor
     fsi7: Fake FSI
     pib7: Fake PIB
         core3: Fake Core (*)
diff --git a/tests/test_tree.sh b/tests/test_tree.sh
index 8b64146..fdcd90c 100755
--- a/tests/test_tree.sh
+++ b/tests/test_tree.sh
@@ -245,6 +245,14 @@  test_result 0 <<EOF
          core@10040 (/proc7/pib/core@10040)
             thread@0 (/proc7/pib/core@10040/thread@0)
             thread@1 (/proc7/pib/core@10040/thread@1)
+   proc0 (/proc0)
+   proc1 (/proc1)
+   proc2 (/proc2)
+   proc3 (/proc3)
+   proc4 (/proc4)
+   proc5 (/proc5)
+   proc6 (/proc6)
+   proc7 (/proc7)
 EOF
 
 test_run libpdbg_dtree_test tree backend /
diff --git a/tests/test_tree2.sh b/tests/test_tree2.sh
index 3b475eb..8d53493 100755
--- a/tests/test_tree2.sh
+++ b/tests/test_tree2.sh
@@ -248,6 +248,14 @@  test_result 0 <<EOF
          core@10040 (/proc7/pib/core@10040)
             thread@0 (/proc7/pib/core@10040/thread@0)
             thread@1 (/proc7/pib/core@10040/thread@1)
+   proc0 (/proc0)
+   proc1 (/proc1)
+   proc2 (/proc2)
+   proc3 (/proc3)
+   proc4 (/proc4)
+   proc5 (/proc5)
+   proc6 (/proc6)
+   proc7 (/proc7)
 EOF
 
 test_run libpdbg_dtree_test tree backend /