#!/bin/sh
#
# Test, that "Starsse" exists in wswiss bug "Straße" does not.
#
# (c) 2018 Roland Rosenfeld <roland@debian.org>

WLIST=/usr/share/dict/swiss
if ! grep -q '^Strasse$' $WLIST
then
    echo "'Strasse' missing in wordlist"
    exit 1
fi
if grep -q '^Straße$' $WLIST
then
    echo "'Straße' should not be in wordlist (de_DE, not de_CH)"
    exit 1
fi
