forked from rpm-software-management/rpm
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Percolate errors up from rpmfcHelper()
Ignoring the error code from rpmfcHelper() means that invalid dependencies get silently ignores. Intentionally not stopping at the first error though, as it's often useful to get all errors at once. Add testcases for legal and illegal output from dependency generator. Fixes rpm-software-management#881
- Loading branch information
Showing
4 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Name: shebang | ||
Version: 0.1 | ||
Release: 1 | ||
Summary: Testing shebang dependency generation | ||
Group: Testing | ||
License: GPL | ||
BuildArch: noarch | ||
|
||
%description | ||
%{summary} | ||
|
||
%install | ||
mkdir -p %{buildroot}/bin | ||
cat << EOF > %{buildroot}/bin/shebang | ||
#!/bin/blabla | ||
echo shebang | ||
EOF | ||
|
||
chmod a+x %{buildroot}/bin/shebang | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
/bin/shebang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters