if [ "${1%/*}" = "${1##*/}" ]; then
echo $(pwd -P)/$1
else
local P=`pwd`;
local R=$?;
return $R;
fi
}
echo "Testing $1"
RESULT=`$TEST_SCRIPT $1`
if [ $? -ne 0 ]; then
return 1
fi
return 0
}
export -f exec_test_script
export TEST_SCRIPT="$TEST_SCRIPT"