Skip to content

Commit 20ae46e

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 48d4052 commit 20ae46e

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
@@ -1203,7 +1203,8 @@ def add_unlisted_files_to_metalog(self):
12031203
self.add_from_mtree(self.ref_mtree, test_binary)
12041204
for test_binary in self.ref_mtree.glob("usr/libexec/malloc_early_constructor-*"):
12051205
self.add_from_mtree(self.ref_mtree, test_binary)
1206-
self.add_from_mtree(self.ref_mtree, "usr/share/examples/cheribsdtest/run-many")
1206+
for test_script in self.ref_mtree.glob("usr/share/examples/cheribsdtest/*"):
1207+
self.add_from_mtree(self.ref_mtree, test_script)
12071208

12081209
if self.include_pmc:
12091210
self.add_from_mtree(self.ref_mtree, "sbin/kldload")

0 commit comments

Comments
 (0)