#! /bin/sh # Test a simple simulation: . ./defs || exit 1 set -e FragOrder_1=9 FragOrder_2=17 FragOrder_3=27 FragOrder_4=40 FragOrder_5=55 FragOrder_6=70 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