test01_pkgquality: when a file is detected as problematic do add its mime type
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
616d130d55
commit
82b35315ec
@ -4,6 +4,10 @@ Changes in version 1.12.4
|
|||||||
* lib/libapse.lib - Davide Madrisan:
|
* lib/libapse.lib - Davide Madrisan:
|
||||||
Coding style fixes.
|
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
|
Changes in version 1.12.3
|
||||||
|
@ -67,6 +67,9 @@ msgstr "ignorato"
|
|||||||
msgid "checking for \\`$BUILDDIR' (%_builddir) strings"
|
msgid "checking for \\`$BUILDDIR' (%_builddir) strings"
|
||||||
msgstr "ricerca della stringa \\`$BUILDDIR' (%_builddir)"
|
msgstr "ricerca della stringa \\`$BUILDDIR' (%_builddir)"
|
||||||
|
|
||||||
|
msgid "mime type:"
|
||||||
|
msgstr "tipo mime:"
|
||||||
|
|
||||||
msgid "checking for suspicious plugins in devel packages"
|
msgid "checking for suspicious plugins in devel packages"
|
||||||
msgstr "controllo di plugin sospetti nei pacchetti devel"
|
msgstr "controllo di plugin sospetti nei pacchetti devel"
|
||||||
|
|
||||||
|
@ -138,6 +138,8 @@ $"checking for \`$SPEC_BUILDROOT' (%buildroot) strings"
|
|||||||
notify.warning "${NOTE}${pck##*/}${NORM}"
|
notify.warning "${NOTE}${pck##*/}${NORM}"
|
||||||
notify.note "\
|
notify.note "\
|
||||||
${NOTE}$(echo $f | sed "s,$tmpextractdir/$i,," )${NORM}"
|
${NOTE}$(echo $f | sed "s,$tmpextractdir/$i,," )${NORM}"
|
||||||
|
notify.note "\
|
||||||
|
"$"mime type: ""${NOTE}$(file --brief --mime --uncompress $f)${NORM}"
|
||||||
notify.note "$(\
|
notify.note "$(\
|
||||||
strings -a $f | grep "^$SPEC_BUILDROOT" | sort -bu | \
|
strings -a $f | grep "^$SPEC_BUILDROOT" | sort -bu | \
|
||||||
sed "s,$SPEC_BUILDROOT\(.*\), - [%buildroot]\1,")"
|
sed "s,$SPEC_BUILDROOT\(.*\), - [%buildroot]\1,")"
|
||||||
@ -166,6 +168,8 @@ $"checking for \`$BUILDDIR' (%_builddir) strings""${NORM}... "
|
|||||||
notify.warning "${NOTE}${pck##*/}${NORM}"
|
notify.warning "${NOTE}${pck##*/}${NORM}"
|
||||||
notify.note "\
|
notify.note "\
|
||||||
${NOTE}$(echo $f | sed "s,$tmpextractdir/$i,," )${NORM}"
|
${NOTE}$(echo $f | sed "s,$tmpextractdir/$i,," )${NORM}"
|
||||||
|
notify.note "\
|
||||||
|
"$"mime type: ""${NOTE}$(file --brief --mime --uncompress $f)${NORM}"
|
||||||
notify.note "$(\
|
notify.note "$(\
|
||||||
strings -a $f | grep "$BUILDDIR" | sort -bu | \
|
strings -a $f | grep "$BUILDDIR" | sort -bu | \
|
||||||
sed "s,$BUILDDIR,[%_builddir],g;s,.*, - &,")"
|
sed "s,$BUILDDIR,[%_builddir],g;s,.*, - &,")"
|
||||||
|
Loading…
Reference in New Issue
Block a user