test01_pkgquality:
Check for wrong file attributes in bin and lib directories. Do ignore files with name matching '*.so.owner'. These are text files needed by OCaml, not libraries. Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
b4f20819f9
commit
b21d192d8f
@ -6,7 +6,12 @@ Sat Jul 13 2013 Madrisan <davide.madrisan(a)gmail.com>
|
||||
Replace 'notify --error' by 'notify.error'.
|
||||
|
||||
* tests/test01_pkgquality - Davide Madrisan:
|
||||
Test fo bad BuildArch tags: modify regexp to catch OCaml library files.
|
||||
Test for bad BuildArch tags: modify regexp to catch OCaml library files.
|
||||
|
||||
* tests/test01_pkgquality - Davide Madrisan:
|
||||
Check for wrong file attributes in bin and lib directories:
|
||||
Do ignore files with name matching '*.so.owner'. These are text files
|
||||
used by OCaml.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
|
@ -218,8 +218,9 @@ $"checking for wrong file attributes in bin and lib directories""${NORM}..."
|
||||
for pck in ${rpmpkg_name[@]}; do
|
||||
pushd $tmpextractdir/$i >/dev/null
|
||||
for f in $( find . -type f \( \
|
||||
\( -name '*.so.*' -not -perm 755 \) -or \
|
||||
\( -name '*.so' -not -perm 755 \) -or \
|
||||
\( -name '*.so.*' -and -not -name '*.so.owner' \
|
||||
-and -not -perm 755 \) -or \
|
||||
\( -name '*.so' -and -not -perm 755 \) -or \
|
||||
\( \( -path './bin/*' -or \
|
||||
-path './sbin/*' -or \
|
||||
-path './usr/bin/*' -or \
|
||||
|
Loading…
Reference in New Issue
Block a user