Skip to content

Commit

Permalink
update md5sum to work on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
slowkow committed Jun 7, 2016
1 parent e7cde91 commit 461fdd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ test_default() {
./picardmetrics collate $out $out &> $collate_log

# Confirm that the final output is correct.
if ! md5sum -c \
<(echo "244cffd02775ab1517578147aee39ab1 ${out}-all-metrics.tsv"); then
checksum=$(md5sum ${out}-all-metrics.tsv | cut -f1 -d' ')
if [[ ! "244cffd02775ab1517578147aee39ab1" = "$checksum" ]]; then
cat $run_log >&2
cat $collate_log >&2
OK=0
Expand All @@ -70,8 +70,8 @@ test_rnaseq() {
./picardmetrics collate $out $out &> $collate_log

# Confirm that the final output is correct.
if ! md5sum -c \
<(echo "3482de25bcf68887d71ed1803505ec66 ${out}-all-metrics.tsv"); then
checksum=$(md5sum ${out}-all-metrics.tsv | cut -f1 -d' ')
if [[ ! "3482de25bcf68887d71ed1803505ec66" = "$checksum" ]]; then
cat $run_log >&2
cat $collate_log >&2
OK=0
Expand Down

0 comments on commit 461fdd7

Please sign in to comment.