Skip to content

Conversation

@SGSSGene
Copy link
Collaborator

@SGSSGene SGSSGene commented Nov 8, 2022

Output of md5sum somefile.txt:

a4d518904c07e3e75fa612890e5c813  somefile.txt

Output of md5 somefile.txt:

MD5 (somefile.txt) = a4d518904c07e3e75fa612890e5c813

The way the test works, is they take the first value from the file, which is not the hash value in case of md5.

Fix is to run md5 -r somefile.txt which outputs:

a4d518904c07e3e75fa612890e5c813 somefile.txt

Output of `md5sum somefile.txt`:
```
a4d518904c07e3e75fa612890e5c813  somefile.txt
```

Output of `md5 somefile.txt`:
```
MD5 (somefile.txt) = a4d518904c07e3e75fa612890e5c813
```

The way the test works, is they take the first value from the file,
which is not the hash value in case of `md5`.

Fix is to run `md5 -r somefile.txt` which outputs:
```
a4d518904c07e3e75fa612890e5c813 somefile.txt
```
@SGSSGene SGSSGene marked this pull request as ready for review November 8, 2022 09:34
@SGSSGene SGSSGene requested a review from h-2 November 8, 2022 09:34
@SGSSGene SGSSGene mentioned this pull request Nov 8, 2022
@sarahet sarahet self-requested a review November 8, 2022 09:36
Copy link
Member

@sarahet sarahet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for catching this!

@sarahet sarahet merged commit f2c2c9d into seqan:lambda3 Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants