depot/third_party/nixpkgs/pkgs/tools/misc/diffoscope/fix-tests.patch
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

33 lines
1.1 KiB
Diff

diff --git a/tests/comparators/test_rlib.py b/tests/comparators/test_rlib.py
index 8d201ab..05960aa 100644
--- a/tests/comparators/test_rlib.py
+++ b/tests/comparators/test_rlib.py
@@ -81,9 +81,6 @@ def rlib_dis_expected_diff():
if actual_ver >= "7.0":
diff_file = "rlib_llvm_dis_expected_diff_7"
- if actual_ver >= "10.0":
- diff_file = "rlib_llvm_dis_expected_diff_10"
-
return get_data(diff_file)
diff --git a/tests/data/pgp_signed_expected_diff b/tests/data/pgp_signed_expected_diff
index 7e90e428..9628efa0 100644
--- a/tests/data/pgp_signed_expected_diff
+++ b/tests/data/pgp_signed_expected_diff
@@ -5,11 +5,11 @@
Key ID - 0x1E953E27D4311E58
Next packet - other than one pass signature
Old: Literal Data Packet(tag 11)(10255 bytes)
- Format - binary
+ Packet data format - binary
- Filename - test1.tar
-- File modified time - Tue Aug 25 11:47:35 UTC 2020
+- Creation time - Tue Aug 25 11:47:35 UTC 2020
+ Filename - test2.tar
-+ File modified time - Tue Aug 25 11:47:38 UTC 2020
++ Creation time - Tue Aug 25 11:47:38 UTC 2020
Literal - ...
Old: Signature Packet(tag 2)(563 bytes)
Ver 4 - new