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 | 87b6c47999f49c2deff42fdcc703c419b251bdbc (patch) | |
| tree | c5f0e418460c8987289cec4505eb88bb035d1dfe /integrationtests/dmap_test.go | |
| parent | 14959ffba46282dd7b8ada53db0dfc0e1b26ab2e (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", |
