File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ test_default() {
44
44
./picardmetrics collate $out $out & > $collate_log
45
45
46
46
# Confirm that the final output is correct.
47
- if ! md5sum -c \
48
- <( echo " 244cffd02775ab1517578147aee39ab1 ${out} -all-metrics.tsv " ) ; then
47
+ checksum= $( md5sum ${out} -all-metrics.tsv | cut -f1 -d ' ' )
48
+ if [[ ! " 244cffd02775ab1517578147aee39ab1" = " $checksum " ]] ; then
49
49
cat $run_log >&2
50
50
cat $collate_log >&2
51
51
OK=0
@@ -70,8 +70,8 @@ test_rnaseq() {
70
70
./picardmetrics collate $out $out & > $collate_log
71
71
72
72
# Confirm that the final output is correct.
73
- if ! md5sum -c \
74
- <( echo " 3482de25bcf68887d71ed1803505ec66 ${out} -all-metrics.tsv " ) ; then
73
+ checksum= $( md5sum ${out} -all-metrics.tsv | cut -f1 -d ' ' )
74
+ if [[ ! " 3482de25bcf68887d71ed1803505ec66" = " $checksum " ]] ; then
75
75
cat $run_log >&2
76
76
cat $collate_log >&2
77
77
OK=0
You can’t perform that action at this time.
0 commit comments