Skip to content

Commit

Permalink
chore: Add some debug for IT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuss committed Jun 8, 2020
1 parent 5b74628 commit 12dd17f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/plugins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"io/ioutil"
"os"
"path/filepath"
"syscall"
"testing"

"gotest.tools/assert"
Expand Down Expand Up @@ -98,6 +99,8 @@ func TestPluginWithoutLookup(t *testing.T) {
knFlags := []string{fmt.Sprintf("--plugins-dir=%s", pc.knPluginsDir), "--lookup-plugins=false"}

t.Log("list plugin in --plugins-dir")
syscall.Exec("ls", []string{ "-l", pc.knPluginPath}, []string{})
syscall.Exec("ls", []string{ "-l", pc.knPluginPath2}, []string{})
listPlugin(r, knFlags, []string{pc.knPluginPath}, []string{})

t.Log("execute plugin in --plugins-dir")
Expand Down

0 comments on commit 12dd17f

Please sign in to comment.