#! /bin/sh

### Set verbose mode
test "x$VERBOSE" = "xx" && set -x

### Set environnement
TOPPREDOPT='-g none -t none'

### sequence length equal to window size
base='min_seqlen'
/usr/bin/toppred $TOPPREDOPT ${base}.fasta >${base}_tmp.out 2>${base}_tmp.err || exit 1

diff ${base}_tmp.out min_seqlen.out >/dev/null || exit 1
diff ${base}_tmp.err min_seqlen.err >/dev/null || exit 1

exit 0
