set -e
-. ${MH_TEST_COMMON}
+if test -z "${MH_OBJ_DIR}"; then
+ srcdir=`dirname $0`/../..
+ MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR
+fi
+
+. "$MH_OBJ_DIR/test/common.sh"
setup_test
-THISDIR="${srcdir}/test/inc"
+THISDIR="$srcdir/test/inc"
if [ ! -z "$VALGRIND_ME" ]; then
require_prog valgrind
echo "Testing inc of files with various alignments of eom marker with buffer size..."
i="$START"
while test $i -le $FINISH; do
- progress_update $sz $START $FINISH
- do_one_test_A $sz
- do_one_test_B $sz
+ progress_update $i $START $FINISH
+ do_one_test_A $i
+ do_one_test_B $i
i=$(expr $i + 1)
done
progress_done