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/dcat_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/dcat_test.go')
| -rw-r--r-- | integrationtests/dcat_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/integrationtests/dcat_test.go b/integrationtests/dcat_test.go index dc2234f..76b7c3b 100644 --- a/integrationtests/dcat_test.go +++ b/integrationtests/dcat_test.go @@ -17,7 +17,7 @@ func TestDCat(t *testing.T) { stdoutFile := "dcat.out" _, err := runCommand(context.TODO(), t, stdoutFile, - "../dcat", "--spartan", testdataFile) + "../dcat", "--spartan", "--cfg", "none", testdataFile) if err != nil { t.Error(err) @@ -40,7 +40,7 @@ func TestDCat2(t *testing.T) { expectedFile := "dcat2.txt.expected" stdoutFile := "dcat2.out" - args := []string{"--spartan", "--logLevel", "error"} + args := []string{"--spartan", "--logLevel", "error", "--cfg", "none"} // Cat file 100 times in one session. for i := 0; i < 100; i++ { @@ -70,7 +70,7 @@ func TestDCatColors(t *testing.T) { expectedFile := "dcatcolors.expected" _, err := runCommand(context.TODO(), t, stdoutFile, - "../dcat", "--logLevel", "error", testdataFile) + "../dcat", "--logLevel", "error", "--cfg", "none", testdataFile) if err != nil { t.Error(err) |
