Skip to content

Commit 461fdd7

Browse files
committed
update md5sum to work on travis
1 parent e7cde91 commit 461fdd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ test_default() {
4444
./picardmetrics collate $out $out &> $collate_log
4545

4646
# 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
4949
cat $run_log >&2
5050
cat $collate_log >&2
5151
OK=0
@@ -70,8 +70,8 @@ test_rnaseq() {
7070
./picardmetrics collate $out $out &> $collate_log
7171

7272
# 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
7575
cat $run_log >&2
7676
cat $collate_log >&2
7777
OK=0

0 commit comments

Comments
 (0)