1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00

chasquid-util: Move tests to chamuyero scripts

We already use chamuyero scripts for some of chasquid-util's tests, this
patch moves most of the rest too, for consistency.
This commit is contained in:
Alberto Bertogli
2024-03-06 23:04:21 +00:00
parent ac2b037f33
commit 06aea2f786
5 changed files with 101 additions and 52 deletions

View File

@@ -0,0 +1,21 @@
# Unknown argument.
c = ./chasquid-util --configdir=.config blahrarghar
c <- Unknown argument "blahrarghar"
c wait 1
c = ./chasquid-util --configdir=.nonono check-userdb
c <- Error loading database: open .nonono/domains//users: no such file or directory
c wait 1
c = ./chasquid-util --configdir=.nonono print-config
c <- Error loading config: failed to read config at ".nonono/chasquid.conf": open .nonono/chasquid.conf: no such file or directory
c wait 1
c = ./chasquid-util --configdir=.nonono aliases-resolve email@addr
c <- Error loading config: failed to read config at ".nonono/chasquid.conf": open .nonono/chasquid.conf: no such file or directory
c wait 1
c = ./chasquid-util --configdir=.nonono domaininfo-remove domain
c <- Error loading config: failed to read config at ".nonono/chasquid.conf": open .nonono/chasquid.conf: no such file or directory
c wait 1