[Git][reproducible-builds/diffoscope][master] Update test fixtures for GNU readelf 2.38 (now in Debian unstable).

Chris Lamb (@lamby) gitlab at salsa.debian.org
Tue Jun 21 08:12:05 UTC 2022



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
eb9c46e5 by Chris Lamb at 2022-06-21T09:11:45+01:00
Update test fixtures for GNU readelf 2.38 (now in Debian unstable).

- - - - -


3 changed files:

- tests/comparators/test_elf.py
- tests/data/elf_lib_objdump_expected_diff
- tests/data/elf_obj_expected_diff


Changes:

=====================================
tests/comparators/test_elf.py
=====================================
@@ -94,7 +94,7 @@ def test_obj_compare_non_existing(monkeypatch, obj1):
 
 
 @skip_unless_tools_exist("readelf")
- at skip_if_tool_version_is("readelf", readelf_version, "2.29")
+ at skip_if_tool_version_is("readelf", readelf_version, "2.38")
 @skip_if_binutils_does_not_support_x86()
 def test_diff(obj_differences):
     assert len(obj_differences) == 1
@@ -130,7 +130,7 @@ def lib_differences(lib1, lib2):
 
 
 @skip_unless_tools_exist("readelf", "objdump")
- at skip_if_tool_version_is("readelf", readelf_version, "2.29")
+ at skip_if_tool_version_is("readelf", readelf_version, "2.38")
 @skip_if_binutils_does_not_support_x86()
 def test_lib_differences(lib_differences):
     assert len(lib_differences) == 2


=====================================
tests/data/elf_lib_objdump_expected_diff
=====================================
@@ -9,4 +9,4 @@
 -	mov    $0x2a,%eax
 +	mov    $0xffffffff,%eax
  	pop    %rbp
- 	retq   
+ 	ret


=====================================
tests/data/elf_obj_expected_diff
=====================================
@@ -9,4 +9,4 @@
 -	mov    $0x2a,%eax
 +	mov    $0xffffffff,%eax
  	pop    %rbp
- 	retq   
+ 	ret



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/eb9c46e5e72d3009a23e8c1ca73c8e254029fbfe

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/eb9c46e5e72d3009a23e8c1ca73c8e254029fbfe
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220621/dd5c87d4/attachment.htm>


More information about the rb-commits mailing list