@@ -441,18 +441,18 @@ private void ValidateProducedDebContent(
441441
442442 using MD5 md5 = MD5 . Create ( ) ;
443443 using FileStream fileStream = File . OpenRead ( layoutFilePath ) ;
444- string newHash = Convert . ToHexString ( md5 . ComputeHash ( fileStream ) ) ;
444+ string newHash = Convert . ToHexStringLower ( md5 . ComputeHash ( fileStream ) ) ;
445445
446446 if ( signableFiles . Contains ( targetSystemFilePath ) )
447447 {
448448 newHash . Should ( ) . NotBe ( originalHash ) ;
449- md5sumsContents . Should ( ) . Contain ( $ "{ newHash } { targetSystemFilePath } ") ;
450- md5sumsContents . Should ( ) . NotContain ( $ "{ originalHash } { targetSystemFilePath } ") ;
449+ md5sumsContents . Should ( ) . Contain ( $ "{ newHash } { targetSystemFilePath } ") ;
450+ md5sumsContents . Should ( ) . NotContain ( $ "{ originalHash } { targetSystemFilePath } ") ;
451451 }
452452 else
453453 {
454454 newHash . Should ( ) . Be ( originalHash ) ;
455- md5sumsContents . Should ( ) . Contain ( $ "{ originalHash } { targetSystemFilePath } ") ;
455+ md5sumsContents . Should ( ) . Contain ( $ "{ originalHash } { targetSystemFilePath } ") ;
456456 }
457457 }
458458
@@ -1993,8 +1993,8 @@ public void CheckDebSigning()
19931993
19941994 var expectedFilesOriginalHashes = new ( string , string ) [ ]
19951995 {
1996- ( "usr/local/bin/hello" , "644981BBD6F4ED1B3CF68CD0F47981AA " ) ,
1997- ( "usr/local/bin/mscorlib.dll" , "B80EEBA2B8616B7C37E49B004D69BBB7 " )
1996+ ( "usr/local/bin/hello" , "644981bbd6f4ed1b3cf68cd0f47981aa " ) ,
1997+ ( "usr/local/bin/mscorlib.dll" , "b80eeba2b8616b7c37e49b004d69bbb7 " )
19981998 } ;
19991999 string [ ] signableFiles = [ "usr/local/bin/mscorlib.dll" ] ;
20002000 string expectedControlFileContent = "Package: test\n Version: 1.0\n Section: base\n Priority: optional\n Architecture: all\n " ;
0 commit comments