mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-10 18:05:57 +00:00
This patch adds "chamuyero", a a tool to test and validate line-oriented commands and servers. It can launch and communicate with other processes, and follow a script of line-oriented request-response, validating the dialog as it goes along. This can be used to test line-oriented network protocols (such as SMTP) or interactive command-line tools. It will be used in follow up patches to test new commands and functionality.
This directory holds end to end tests, written usually in a combination of shell and some Python. They're not expected to be portable, as that gets impractical very quickly. They also have some dependencies, listed below. ## Dependencies The tests depend on the following things being installed on the system (listed as Debian package, for consistency): - msmtp - util-linux (for /usr/bin/setsid) For t-02-exim (Exim interaction tests): - gettext-base (for /usr/bin/envsubst) - The exim binary available somewhere, but it doesn't have to be installed. There's a script "get-exim4-debian.sh" to get it from the archives. For some tests, python >= 3.5 is required; they will be skipped if it's not available.