Skip to content

Commit

Permalink
Updated test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericlemoine committed Apr 14, 2022
1 parent 4c19ab4 commit d228a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ ${GOTREE} repopulate -i input -g id_groups -o output
${GOTREE} compare trees -i output -c expected > outputcompare
diff -q -b expectedcompare outputcompare
# Compare all branches with lengths, etc.
${GOTREE} compare edges -i output -c expected | tail -n+2 | awk -F "\t" '{if($3!=$13){exit 1};if($9!="true"){exit 1};if($8!=$12){exit 1}}'
${GOTREE} compare edges -i output -c expected | tail -n+2 | awk -F "\t" '{if($3!=$14){exit 1};if($10!="true"){exit 1};if($9!=$13){exit 1}}'

rm -f expected output input outputcompare expectedcompare id_groups

Expand Down Expand Up @@ -1677,7 +1677,7 @@ ${GOTREE} repopulate -i input -g id_groups -o output
${GOTREE} compare trees -i output -c expected > outputcompare
diff -q -b expectedcompare outputcompare
# Compare all branches with lengths, etc.
${GOTREE} compare edges -i output -c expected | tail -n+2 | awk -F "\t" '{if($3!=$13){exit 1};if($9!="true"){exit 1};if($8!=$12){exit 1}}'
${GOTREE} compare edges -i output -c expected | tail -n+2 | awk -F "\t" '{if($3!=$14){exit 1};if($10!="true"){exit 1};if($9!=$13){exit 1}}'

rm -f expected output input outputcompare expectedcompare

Expand Down

0 comments on commit d228a05

Please sign in to comment.