1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-18 14:47:03 +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

@@ -16,7 +16,6 @@ import (
"blitiri.com.ar/go/chasquid/internal/envelope"
"blitiri.com.ar/go/chasquid/internal/localrpc"
"blitiri.com.ar/go/chasquid/internal/normalize"
"blitiri.com.ar/go/chasquid/internal/trace"
"blitiri.com.ar/go/chasquid/internal/userdb"
"golang.org/x/term"
"google.golang.org/protobuf/encoding/prototext"
@@ -284,10 +283,6 @@ func domaininfoRemove() {
}
}
func allUsersExist(tr *trace.Trace, user, domain string) (bool, error) {
return true, nil
}
// parseArgs parses the command line arguments, and returns a map.
//
// Arguments starting with "-" will be parsed as key-value pairs, and