You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/08/30 12:07:03 UTC
[maven-source-plugin] branch MSOURCES-120 updated: different
fingerprint for Windows
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch MSOURCES-120
in repository https://gitbox.apache.org/repos/asf/maven-source-plugin.git
The following commit(s) were added to refs/heads/MSOURCES-120 by this push:
new 00419ab different fingerprint for Windows
00419ab is described below
commit 00419ab3262a2177b2a122afb18219b6f8481535
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Fri Aug 30 14:06:59 2019 +0200
different fingerprint for Windows
---
src/it/reproducible/verify.groovy | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/it/reproducible/verify.groovy b/src/it/reproducible/verify.groovy
index db37db5..ef17f2c 100644
--- a/src/it/reproducible/verify.groovy
+++ b/src/it/reproducible/verify.groovy
@@ -49,4 +49,6 @@ zis.close();
String buf = r.toString()
-assert buf.startsWith( 'reproducible-1.0-sources.jar sha1 = 146d60be5a3e153bbb8c451eb775c989e61c3fe5' )
+String expectedSha1 = System.properties['os.name'].toLowerCase().contains( 'windows' ) ? '89faedfacb5a645bf956465887744e5f8a3e59a3' : '146d60be5a3e153bbb8c451eb775c989e61c3fe5'
+
+assert buf.startsWith( "reproducible-1.0-sources.jar sha1 = $expectedSha1" )