Skip to content

Commit ddfcce9

Browse files
committed
disk-image-minimal: use a glob for run-many
Add any files in usr/share/examples/cheribsdtest to that builds without purecap successfully add all zero of them rather than failing to add usr/share/examples/cheribsdtest/run-many.
1 parent 71d3858 commit ddfcce9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pycheribuild/projects/disk_image.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,8 @@ def add_unlisted_files_to_metalog(self):
12091209
self.add_from_mtree(self.ref_mtree, test_binary)
12101210
for test_binary in self.ref_mtree.glob("usr/libexec/malloc_early_constructor-*"):
12111211
self.add_from_mtree(self.ref_mtree, test_binary)
1212-
self.add_from_mtree(self.ref_mtree, "usr/share/examples/cheribsdtest/run-many")
1212+
for test_script in self.ref_mtree.glob("usr/share/examples/cheribsdtest/*"):
1213+
self.add_from_mtree(self.ref_mtree, test_script)
12131214

12141215
if self.include_pmc:
12151216
self.add_from_mtree(self.ref_mtree, "sbin/kldload")

0 commit comments

Comments
 (0)