Project

General

Profile

« Previous | Next » 

Revision 88

Made it easier to accept test output

View differences:

test_map
8 8
test -n "$n" || n=2
9 9
let n++
10 10

  
11
head -"$n" NYSpecimenDataAmericas.csv|../map \
12
../../mappings/NYBG-VegX.organisms.csv >NYSpecimenDataAmericas.test.xml \
13
&& diff NYSpecimenDataAmericas.xml NYSpecimenDataAmericas.test.xml
11
in=NYSpecimenDataAmericas.csv
12
out=NYSpecimenDataAmericas.xml
14 13

  
15
head -"$n" NYSpecimenDataAmericas.csv|../map2vegbank \
16
../../mappings/joins/NYBG-VegBank.organisms.csv
14
head -"$n" "$in"|../map ../../mappings/NYBG-VegX.organisms.csv \
15
>"test_output/$out" && diff "$out" "test_output/$out"
16

  
17
head -"$n" "$in"|../map2vegbank ../../mappings/joins/NYBG-VegBank.organisms.csv

Also available in: Unified diff