#! /bin/sh # Test a simple simulation: . ./defs || exit 1 set -e FragOrder_1=6 FragOrder_2=11 FragOrder_3=18 FragOrder_4=25 FragOrder_5=29 FragOrder_6=30 for order in 1 2 3 4 5 6; do Fragmentation_run 0 $order 1.55 no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l` echo "Number of fragment files on order $order is $no_fragments." eval test "$no_fragments = \$FragOrder_$order" || exit 1 done