mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
472ded6647
buildrpms_source_only.t runs buildrpms.pl from a copied sandbox, and staged only BuildUtils.pm. Master added a second module with the same basename, build-utils/lib/XCAT/BuildUtils.pm, which buildrpms.pl also loads. The sandboxed run then died with "Can't locate .../build-utils/lib/XCAT/ BuildUtils.pm" before it reached the argument parsing the test asserts on. Stage each needed file at its own relative path and create the parent directory, so both modules reach the sandbox. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>