if ! [ -n "$SUBDB" ]; then
  # These tests only work for the std plugin
  prompt "messages:             "

  echo 'ERR_OPEN:My message ' >"$DIR"/text/messages
  ${EZBIN}/ezmlm-sub "$DIR" foobar "$SENDER" 2>&1 \
  | grep ' My message ' >/dev/null \
  || fatal "did not read local text/messages"

  echo 'ERR_XYZZY:My message' >"$DIR"/text/messages
  ${EZBIN}/ezmlm-sub "$DIR" foobar "$SENDER" 2>&1 \
  | grep 'ERR_OPEN' >/dev/null \
  && fatal "did not read default text/messages"

  echo OK
fi
