| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# Cassandane ships inside the Cyrus source tree; the standalone |
| 6 |
# https://github.com/cyrusimap/cassandane repository is archived and |
| 7 |
# defunct (last commit 2021-11-22). Point the runner at our own copy so |
| 8 |
# that the tests actually match the version under test -- in particular |
| 9 |
# the regression tests that come with the security fixes. |
| 10 |
export CASSANDANESRC="$(pwd)/cassandane" |
| 11 |
|
| 12 |
# Historically only Cyrus::ImapTest was run, which left the ACL, URLAUTH, |
| 13 |
# delete and MIME parsing code paths -- i.e. everything hardened by |
| 14 |
# CVE-2026-47081 .. CVE-2026-47089 -- untested. Override CASSANDANEOPTS |
| 15 |
# to run a different set, or leave it empty to run the whole suite. |
| 16 |
export CASSANDANEOPTS="${CASSANDANEOPTS-Cyrus::ImapTest Cyrus::ACL Cyrus::Delete Cyrus::MIME Cyrus::Search Cyrus::URLAuth Cyrus::XApplePushService}" |
| 17 |
|
| 18 |
export BUILD_CYRUS_FROM_SOURCE="no" |
| 19 |
|
| 20 |
cd debian/tests/no-docker |
| 21 |
|
| 22 |
sh ./install-env.sh || exit 77 |
| 23 |
./run.sh |