mapping_test.sh 261 Bytes
Newer Older
1 2 3 4 5
#!/bin/bash

tst=$srcdir/tests
set -e
tests/mapping_test --sync=1 --codes-config=$tst/conf/mapping_test.conf | \
6
    grep TEST > mapping_test.out
7 8 9 10 11 12 13

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

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