Skip to contentSkip to conversation

binman: Renumber 291 and 292 test files

PATCH In review Simon Glass 1 participant 2 messages Aug 3, 2023 – Aug 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binman: Renumber 291 and 292 test files

These have ended up with the same numbers as earlier files. Fix them.

---

 tools/binman/ftest.py                                         | 4 ++--
 .../{291_template_phandle.dts => 309_template_phandle.dts}    | 0
 ..._template_phandle_dup.dts => 310_template_phandle_dup.dts} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename tools/binman/test/{291_template_phandle.dts => 309_template_phandle.dts} (100%)
 rename tools/binman/test/{292_template_phandle_dup.dts => 310_template_phandle_dup.dts} (100%)
tools/binman/ftest.py +2 -2
index d2315ebd5ea0..0abb95d46cf0 100644
@@ -6974,7 +6974,7 @@ fdt         fdtmap                Extract the devicetree blob from the fdtmap
         entry_args = {
             'atf-bl31-path': 'bl31.elf',
         }
-        data = self._DoReadFileDtb('291_template_phandle.dts',
+        data = self._DoReadFileDtb('309_template_phandle.dts',
                                    entry_args=entry_args)
         fname = tools.get_output_filename('image.bin')
         out = tools.run('dumpimage', '-l', fname)
@@ -6990,7 +6990,7 @@ fdt         fdtmap                Extract the devicetree blob from the fdtmap
             'atf-bl31-path': 'bl31.elf',
         }
         with self.assertRaises(ValueError) as e:
-            self._DoReadFileDtb('292_template_phandle_dup.dts',
+            self._DoReadFileDtb('310_template_phandle_dup.dts',
                                 entry_args=entry_args)
         self.assertIn(
             'Duplicate phandle 1 in nodes /binman/image/fit/images/atf/atf-bl31 and /binman/image-2/fit/images/atf/atf-bl31',
tools/binman/test/309_template_phandle.dts renamed from tools/binman/test/291_template_phandle.dts +0 -0
similarity index 100%
rename from tools/binman/test/291_template_phandle.dts
rename to tools/binman/test/309_template_phandle.dts
tools/binman/test/310_template_phandle_dup.dts renamed from tools/binman/test/292_template_phandle_dup.dts +0 -0
similarity index 100%
rename from tools/binman/test/292_template_phandle_dup.dts
rename to tools/binman/test/310_template_phandle_dup.dts
Signature · 1 line
2.41.0.640.ga95def55d0-goog
#1 lore raw

These have ended up with the same numbers as earlier files. Fix them.

---

 tools/binman/ftest.py                                         | 4 ++--
 .../{291_template_phandle.dts => 309_template_phandle.dts}    | 0
 ..._template_phandle_dup.dts => 310_template_phandle_dup.dts} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename tools/binman/test/{291_template_phandle.dts =>
309_template_phandle.dts} (100%)
 rename tools/binman/test/{292_template_phandle_dup.dts =>

310_template_phandle_dup.dts} (100%)

Applied to u-boot-dm, thanks!