[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 65/82] hsot reuse: Make share type hash more easily greppable
From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Use - and _ to make up the base64 alphabet instead of + and / Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- ts-host-reuse | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-host-reuse b/ts-host-reuse index 701070b2..0ecbb0bd 100755 --- a/ts-host-reuse +++ b/ts-host-reuse @@ -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; -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |