Bogus permissions were normalized by git because it was even loaded;
so the cooker's normalization was not actually tested.
This commit uses Dulwich instead of git to stage the changes,
and monkey-patches Dulwich to prevent it from normalizing.
Differential D5689
Make test_directory_bogus_perms/test_revision_bogus_perms actually test the cookers vlorentz on May 5 2021, 7:13 PM. Authored by Tags None Subscribers None
Details
Bogus permissions were normalized by git because it was even loaded; This commit uses Dulwich instead of git to stage the changes,
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D5689 (id=20314)Rebasing onto f87dd54d5d... Current branch diff-target is up to date. Changes applied before testcommit e82f5cc389538625fb8059d821768a413c5e3136 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed May 5 19:12:49 2021 +0200 Make test_directory_bogus_perms actually test the cooker Bogus permissions were normalized by git because it was even loaded; so the cooker's normalization was not actually tested. This commit uses Dulwich instead of git to stage the changes, and monkey-patches Dulwich to prevent it from normalizing. Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/76/ Comment Actions Build has FAILED Patch application report for D5689 (id=20316)Rebasing onto f87dd54d5d... Current branch diff-target is up to date. Changes applied before testcommit 3c14013bc7eeb598e24122d922ba85534ac11708 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed May 5 19:12:49 2021 +0200 Make test_directory_bogus_perms/test_revision_bogus_perms/ actually test the cookers Bogus permissions were normalized by git because it was even loaded; so the cooker's normalization was not actually tested. This commit uses Dulwich instead of git to stage the changes, and monkey-patches Dulwich to prevent it from normalizing. Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/77/ Comment Actions Build is green Patch application report for D5689 (id=20316)Rebasing onto f87dd54d5d... Current branch diff-target is up to date. Changes applied before testcommit 3c14013bc7eeb598e24122d922ba85534ac11708 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed May 5 19:12:49 2021 +0200 Make test_directory_bogus_perms/test_revision_bogus_perms/ actually test the cookers Bogus permissions were normalized by git because it was even loaded; so the cooker's normalization was not actually tested. This commit uses Dulwich instead of git to stage the changes, and monkey-patches Dulwich to prevent it from normalizing. See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/78/ for more details. |