]> xenbits.xensource.com Git - osstest.git/commitdiff
hsot reuse: Make share type hash more easily greppable
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 21 Aug 2020 14:44:58 +0000 (15:44 +0100)
committerIan Jackson <iwj@xenproject.org>
Wed, 7 Oct 2020 16:52:05 +0000 (17:52 +0100)
Use - and _ to make up the base64 alphabet instead of + and /

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-host-reuse

index 701070b283d9355546271014087bc1091e634201..0ecbb0bd1a23c2dc6a82111f461816a1d83f7fc2 100755 (executable)
@@ -75,6 +75,7 @@ sub compute_test_sharetype () {
        push @runvartexts, "$key=$r{$key}";
     }
     my $digest = sha224_base64("@runvartexts");
+    $digest =~ y{/+}{-_};
     $sharetype = "test-$flight-$digest";
     logm "share type $sharetype; hash is of: @runvartexts";
     return $sharetype;