Package list unrtf / upstream/0.21.2 tests / test_html.sh
upstream/0.21.2

Tree @upstream/0.21.2 (Download .tar.gz)

test_html.sh @upstream/0.21.2raw · history · blame

#! /bin/sh

result=0

for name in ${srcdir}/*.rtf; do

    output=`echo ${name} | sed "sI.\+/IIg"`
    echo "${UNRTF} ${name} > ${output}.html"

    if ${UNRTF} ${name} > ${output}.html; then
	echo "success."
    else
	echo "FAILURE!"
	result=1
    fi
done

exit $result