diff options
| author | Paul Buetow <paul@buetow.org> | 2021-10-24 13:44:06 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-10-24 13:44:06 +0300 |
| commit | b166c3a9900a75f7e817cd40e3b09df6c53d09c4 (patch) | |
| tree | c5f0e418460c8987289cec4505eb88bb035d1dfe /integrationtests/dmap_test.go | |
| parent | 150c5901c7ba2fbb994366c7456dfe1937ac7c40 (diff) | |
integration tests use a different known_hosts path and also dont read any external config files
Diffstat (limited to 'integrationtests/dmap_test.go')
| -rw-r--r-- | integrationtests/dmap_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/integrationtests/dmap_test.go b/integrationtests/dmap_test.go index 2de679b..53b8574 100644 --- a/integrationtests/dmap_test.go +++ b/integrationtests/dmap_test.go @@ -28,6 +28,7 @@ func TestDMap(t *testing.T) { defer cancel() stdoutCh, stderrCh, cmdErrCh, err := startCommand(ctx, t, "../dmap", + "--cfg", "none", "--query", query, "--logger", "stdout", "--logLevel", "error", @@ -71,7 +72,7 @@ func TestDMap2(t *testing.T) { "outfile %s", csvFile) _, err := runCommand(context.TODO(), t, stdoutFile, - "../dmap", "--query", query, inFile) + "../dmap", "--query", query, "--cfg", "none", inFile) if err != nil { t.Error(err) return @@ -112,6 +113,7 @@ func TestDMap3(t *testing.T) { stdoutCh, stderrCh, cmdErrCh, err := startCommand(ctx, t, "../dmap", "--query", query, + "--cfg", "none", "--logger", "stdout", "--logLevel", "info", "--noColor", |
