- Match also ELF pie executable (bsc#1097339)

- Remove trailing space from two match patterns

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=252
This commit is contained in:
Olaf Hering 2018-07-04 05:59:33 +00:00 committed by Git OBS Bridge
parent 8e554ff73e
commit 5d84d5ea8c
3 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jul 4 05:58:13 UTC 2018 - olaf@aepfle.de
- Match also ELF pie executable (bsc#1097339)
-------------------------------------------------------------------
Wed Jul 4 05:42:05 UTC 2018 - olaf@aepfle.de
- Remove trailing space from two match patterns
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 26 06:45:38 UTC 2018 - olaf@aepfle.de Tue Jun 26 06:45:38 UTC 2018 - olaf@aepfle.de

View File

@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare Url: https://github.com/openSUSE/build-compare
Version: 20180626T183715.37a4b00 Version: 20180704T075846.8f3031d
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -707,7 +707,7 @@ check_single_file()
esac esac
done done
;; ;;
/usr/share/javadoc/gjdoc.properties |\ /usr/share/javadoc/gjdoc.properties|\
/usr/share/javadoc/*/gjdoc.properties) /usr/share/javadoc/*/gjdoc.properties)
for f in old/$file new/$file; do for f in old/$file new/$file; do
sed -i -e 's|^#[A-Z][a-z]\{2\} [A-Z][a-z]\{2\} [0-9]\{2\} ..:..:.. GMT 20..$|#Fri Jan 01 11:27:36 GMT 2009|' $f sed -i -e 's|^#[A-Z][a-z]\{2\} [A-Z][a-z]\{2\} [0-9]\{2\} ..:..:.. GMT 20..$|#Fri Jan 01 11:27:36 GMT 2009|' $f
@ -744,7 +744,7 @@ check_single_file()
*.elc) *.elc)
filter_generic emacs_lisp filter_generic emacs_lisp
;; ;;
/var/lib/texmf/web2c/*/*fmt |\ /var/lib/texmf/web2c/*/*fmt|\
/var/lib/texmf/web2c/metafont/*.base|\ /var/lib/texmf/web2c/metafont/*.base|\
/var/lib/texmf/web2c/metapost/*.mem) /var/lib/texmf/web2c/metapost/*.mem)
# binary dump of TeX and Metafont formats, we can ignore them for good # binary dump of TeX and Metafont formats, we can ignore them for good
@ -824,7 +824,12 @@ check_single_file()
return 1 return 1
fi fi
;; ;;
ELF*executable*|ELF*[LM]SB\ relocatable*|ELF*[LM]SB\ shared\ object*|setuid\ ELF*[LM]SB\ shared\ object*) ELF*executable*|\
ELF*[LM]SB\ relocatable*|\
ELF*[LM]SB\ shared\ object*|\
setuid\ ELF*[LM]SB\ shared\ object*|\
ELF*[LM]SB\ pie\ executable*|\
setuid\ ELF*[LM]SB\ pie\ executable*)
$OBJDUMP -d --no-show-raw-insn old/$file > $file1 $OBJDUMP -d --no-show-raw-insn old/$file > $file1
ret=$? ret=$?
$OBJDUMP -d --no-show-raw-insn new/$file > $file2 $OBJDUMP -d --no-show-raw-insn new/$file > $file2