diff --git a/tests/test01_pkgquality.in b/tests/test01_pkgquality.in index 847d571..b9b1734 100644 --- a/tests/test01_pkgquality.in +++ b/tests/test01_pkgquality.in @@ -188,14 +188,14 @@ checking for wrong file attributes in bin and lib directories""${NORM}..." let "i = 0" for pck in ${rpmpkg_name[@]}; do pushd $tmpextractdir/$i >/dev/null - for f in $( find . -type f \ + for f in $( find . -type f \( \ \( -name '*.so.*' -not -perm 755 \) -or \ \( -name '*.so' -not -perm 755 \) -or \ \( \( -path './bin/*' -or \ -path './sbin/*' -or \ -path './usr/bin/*' -or \ -path './usr/sbin/*' \) \ - -not -perm -111 \) 2>/dev/null ); do + -not -perm -111 \) 2>/dev/null \) ); do let "warning = 1" && notify.warning "${NOTE}${pck##*/}${NORM}" notify.note $"found suspect file"": \