#! /bin/sh # Test a simple simulation: . ./defs || exit 1 set -e FragOrder_1=10 FragOrder_2=19 FragOrder_3=30 FragOrder_4=45 FragOrder_5=63 FragOrder_6=83 for order in 1 2 3 4 5 6; do Fragmentation_run 0 $order 2. 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