We were recently hit by bug #1956833, where GSS-SPNEGO was suddenly
disabled and nobody noticed until an app tried to use it.

For that case, I'm thinking about a very simple test that would be like
this:

for algo in $ALGORITHMS; do
  saslpluginviewer -m $algo > /dev/null || {
    echo "Algorithm $algo not available"
    exit 1
  }
done

And ALGORITHMS is a list of the algorithms we expect to always be available, 
like:
  SCRAM-SHA-1 SCRAM-SHA-256 GS2-IAKERB GS2-KRB5 GSS-SPNEGO GSSAPI DIGEST-MD5 
EXTERNAL CRAM-MD5 NTLM PLAIN LOGIN ANONYMOUS


** Tags added: bitesize

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1677781

Title:
  Missing dep8 tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1677781/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to