Commit 7639512c5db244360db09af43cdd0ce4d43fa8e5 neglected to convert 
source/patch lookup errors to macro buffer errors, causing the error return 
from doPatch() and doUntar() getting lost.

This has an effect on the error message as well, as the macro system 
additionally reports the file name and line number. Update the test 
expectations to match.

Fixes: #4079
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/4083

-- Commit Summary --

  * Add tests for missing patch/source errors in %prep
  * Fix "No patch/source number X" not returning an error code 
regression

-- File Changes --

    M build/parsePrep.cc (18)
    M tests/rpmbuild.at (29)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/4083.patch
https://github.com/rpm-software-management/rpm/pull/4083.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4083
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to