mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-08 17:51:57 +00:00
test: Remove nc.py
The nc.py script is only used in a single test, and for waiting for a TCP port to be opened for listening. This patch replaces it entirely, by using chamuyero for the test, and bash for waiting on a TCP port.
This commit is contained in:
@@ -14,7 +14,7 @@ wait_until_ready 1025
|
||||
|
||||
|
||||
# Send mail with an empty address (directly, unauthenticated).
|
||||
nc.py localhost 1025 < sendmail > /dev/null
|
||||
chamuyero sendmail.cmy > .logs/chamuyero 2>&1
|
||||
wait_for_file .mail/user@testserver
|
||||
mail_diff content .mail/user@testserver
|
||||
rm -f .mail/user@testserver
|
||||
|
||||
Reference in New Issue
Block a user