#!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./.libs/

.libs/admesh block.stl > regression_test_output_current
DIFFRESULT=`diff regression_test_output_current debian/regression_test/regression_test_output_etalon`
if [ "$DIFFRESULT" != "" ]; then
  rm regression_test_output_current
	echo 'Regression test FAILED!'
	exit 1
else
	rm regression_test_output_current
  echo "Regression test PASSED!"
	exit 0
fi
