#!/bin/sh

echo -n $0: 'ASCII entities... '

cat >test.html <<eof
abc&#x27;def
eof

cat >test.ref <<eof
abc'def

eof

sh ./test/run test.html >test.data

if cmp test.ref test.data
then
  rm -f test.*
  echo passed
else
  echo failed
  exit 1
fi
