Project

General

Profile

Actions

Bug #12189

closed

zfs test suite calculates md5 digests suboptimally

Added by Kody Kantor over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tests
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

While going through the RTI for #12034 Dan noted that we could simplify some testing code by using digest(1) instead using md5sum(1) and piping the output to awk.

We can use digest(1) to replace the md5sum | awk pattern pretty easily:

$ digest -a md5 README.md
7ed980493c1161d119bd89dc85819b3f

Actions

Also available in: Atom PDF