mapping_test.sh 289 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

tst=$srcdir/tests
set -e
tests/mapping_test --sync=1 --codes-config=$tst/conf/mapping_test.conf | \
    grep TEST | sort -s -k 1d,1d -k 2n,2n > mapping_test.out

diff $tst/expected/mapping_test.out mapping_test.out
err=$?

if [ "$err" -eq 0 ]; then
    rm mapping_test.out
fi