You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dedup the license-notice install block and the expect_license_notice test helper #9
Every download feature that ships an upstream license installs it to /usr/local/share/doc/<tool>/. That install block is copied into 4 install.sh files, and the expect_license_notice test helper is copied into 4 *-checks.sh files. These copies came out of the DF13 review (findings 7 and 8) and can drift apart.
Items
Move the license-notice install block into common/install-lib.sh as a library function, as part of the post-1.0.0 install-lib batch, then re-vendor the library into each feature.
Give expect_license_notice a single source: a shared test helper copied into each test directory with a drift guard, like scripts/check-install-lib-drift.sh does for install-lib.
Activity