comparison tests/test-include.sh @ 75:2633976fbef5 qt5

Tests (currently failing) for vamp-test-plugin
author Chris Cannam
date Tue, 30 Apr 2013 17:12:21 +0100
parents 1141bc562301
children 8b4924a9a072
comparison
equal deleted inserted replaced
74:d78c80be335f 75:2633976fbef5
14 rv=$? 14 rv=$?
15 rm "${a}__" "${b}__" 15 rm "${a}__" "${b}__"
16 return $rv 16 return $rv
17 } 17 }
18 18
19 csvcompare_ignorefirst() {
20 # a bit like the above, but ignoring first column (and without temp files)
21 out=`cat "$1" "$2" | cut -d, -f2- | perl -p -e 's/(\d+\.\d{6})\d+/$1/' | sort | uniq -c | grep -v ' 2 '`
22 return `[ -z "$out" ]`
23 }
24
25