Commit dbc4d87
committed
[patch, test] md5 generates a different output to md5sum
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
```1 parent 8115bde commit dbc4d87
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments