summaryrefslogtreecommitdiff
path: root/integrationtests/dgrep_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-09 16:44:28 +0300
committerPaul Buetow <paul@buetow.org>2021-10-10 13:36:32 +0300
commit7563abe9d5beaa18fa1eab0f65668f5dfcf79052 (patch)
tree2c1aa056285b3e5d4febefd114a4b95f62071386 /integrationtests/dgrep_test.go
parent148ce987cde531978b4d5cdd30df9a67cc384ec5 (diff)
add dtail health check unit test.
Diffstat (limited to 'integrationtests/dgrep_test.go')
-rw-r--r--integrationtests/dgrep_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrationtests/dgrep_test.go b/integrationtests/dgrep_test.go
index 32c0ace..6a15ebd 100644
--- a/integrationtests/dgrep_test.go
+++ b/integrationtests/dgrep_test.go
@@ -10,7 +10,7 @@ func TestDGrep(t *testing.T) {
stdoutFile := "dgrep.stdout.tmp"
expectedStdoutFile := "dgrep.txt.expected"
- if err := runCommand(t, "../dgrep", []string{"-spartan", "--grep", "20211002-071947", inFile}, stdoutFile); err != nil {
+ if _, err := runCommand(t, "../dgrep", []string{"-spartan", "--grep", "20211002-071947", inFile}, stdoutFile); err != nil {
t.Error(err)
return
}
@@ -27,7 +27,7 @@ func TestDGrep2(t *testing.T) {
stdoutFile := "dgrep2.stdout.tmp"
expectedStdoutFile := "dgrep2.txt.expected"
- if err := runCommand(t, "../dgrep", []string{"-spartan", "--grep", "20211002-071947", "--invert", inFile}, stdoutFile); err != nil {
+ if _, err := runCommand(t, "../dgrep", []string{"-spartan", "--grep", "20211002-071947", "--invert", inFile}, stdoutFile); err != nil {
t.Error(err)
return
}