Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Copy the stapler helper into the update-zip test fixture
macos_create_update_zip.sh now sources scripts/macos_stapler.sh from its own
directory; the dedup test copies the script into a temporary tree and must
copy the helper beside it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Loading branch information
2 people authored and haozhi shao committed Oct 16, 2026
commit 27c60405961655ea6bb2303e60ff5280b8a732be
2 changes: 2 additions & 0 deletions tests/scripts/macos_update_dedup_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def setUp(self):
scripts.mkdir()
shutil.copytree(ROOT / 'assets/seed', self.root / 'assets/seed')
shutil.copy2(ROOT / 'scripts/verify_seed_bundle.py', scripts / 'verify_seed_bundle.py')
# The update script sources its stapler retry helper from its own directory.
shutil.copy2(ROOT / 'scripts/macos_stapler.sh', scripts / 'macos_stapler.sh')
text = (ROOT / 'scripts/macos_create_update_zip.sh').read_text()
text = text.replace('/usr/bin/ditto', '"' + str(ditto) + '"')
self.script = scripts / 'macos_create_update_zip.sh'
Expand Down
Loading