Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing dots from backup message produced by --inject-checksums #4632

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -4720,7 +4720,7 @@ def make_checksum_lines(checksums, indent_level):

# back up easyconfig file before injecting checksums
ec_backup = back_up_file(ec['spec'])
print_msg("backup of easyconfig file saved to %s..." % ec_backup, log=_log)
print_msg("backup of easyconfig file saved to %s" % ec_backup, log=_log)

# compute & inject checksums for sources/patches
print_msg("injecting %s checksums for sources & patches in %s..." % (checksum_type, ec_fn), log=_log)
Expand Down
4 changes: 2 additions & 2 deletions test/framework/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -6070,7 +6070,7 @@ def test_inject_checksums(self):
patterns = [
r"^== injecting sha256 checksums in .*/test\.eb$",
r"^== fetching sources & patches for test\.eb\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+$",
r"^== injecting sha256 checksums for sources & patches in test\.eb\.\.\.$",
r"^== \* toy-0.0\.tar\.gz: %s$" % toy_source_sha256,
r"^== \* toy-0\.0_fix-silly-typo-in-printf-statement\.patch: %s$" % toy_patch_sha256,
Expand Down Expand Up @@ -6198,7 +6198,7 @@ def test_inject_checksums(self):
patterns = [
r"^== injecting md5 checksums in .*/test\.eb$",
r"^== fetching sources & patches for test\.eb\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+$",
r"^== injecting md5 checksums for sources & patches in test\.eb\.\.\.$",
r"^== \* toy-0.0\.tar\.gz: be662daa971a640e40be5c804d9d7d10$",
r"^== \* toy-0\.0_fix-silly-typo-in-printf-statement\.patch: a99f2a72cee1689a2f7e3ace0356efb1$",
Expand Down
Loading