#! /bin/sh # Test a simple simulation: . ./defs || exit 1 set -e FragOrder_1=8 FragOrder_2=16 FragOrder_3=26 FragOrder_4=39 FragOrder_5=52 FragOrder_6=64 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