diff --git a/ChangeLog b/ChangeLog index ad17b95..b3b4265 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,10 @@ Changes in version 1.12.4 * lib/libapse.lib - Davide Madrisan: Coding style fixes. ++ improvement + * test/test01_pkgquality - Davide Madrisan: + When a file is detected as problematic do add its mime type. + ------------------------------------------------------------------------------- Changes in version 1.12.3 diff --git a/po/it/test01_pkgquality.po b/po/it/test01_pkgquality.po index cb5583b..6f83bbe 100644 --- a/po/it/test01_pkgquality.po +++ b/po/it/test01_pkgquality.po @@ -67,6 +67,9 @@ msgstr "ignorato" msgid "checking for \\`$BUILDDIR' (%_builddir) strings" msgstr "ricerca della stringa \\`$BUILDDIR' (%_builddir)" +msgid "mime type:" +msgstr "tipo mime:" + msgid "checking for suspicious plugins in devel packages" msgstr "controllo di plugin sospetti nei pacchetti devel" diff --git a/tests/test01_pkgquality.in b/tests/test01_pkgquality.in index 6e0f858..930c5d7 100644 --- a/tests/test01_pkgquality.in +++ b/tests/test01_pkgquality.in @@ -138,6 +138,8 @@ $"checking for \`$SPEC_BUILDROOT' (%buildroot) strings" notify.warning "${NOTE}${pck##*/}${NORM}" notify.note "\ ${NOTE}$(echo $f | sed "s,$tmpextractdir/$i,," )${NORM}" + notify.note "\ + "$"mime type: ""${NOTE}$(file --brief --mime --uncompress $f)${NORM}" notify.note "$(\ strings -a $f | grep "^$SPEC_BUILDROOT" | sort -bu | \ sed "s,$SPEC_BUILDROOT\(.*\), - [%buildroot]\1,")" @@ -166,6 +168,8 @@ $"checking for \`$BUILDDIR' (%_builddir) strings""${NORM}... " notify.warning "${NOTE}${pck##*/}${NORM}" notify.note "\ ${NOTE}$(echo $f | sed "s,$tmpextractdir/$i,," )${NORM}" + notify.note "\ + "$"mime type: ""${NOTE}$(file --brief --mime --uncompress $f)${NORM}" notify.note "$(\ strings -a $f | grep "$BUILDDIR" | sort -bu | \ sed "s,$BUILDDIR,[%_builddir],g;s,.*, - &,")"