github.com/versent/saml2aws@v2.17.0+incompatible/pkg/shell/shell_test.go (about)

     1  // +build !windows
     2  
     3  package shell
     4  
     5  import "testing"
     6  import "github.com/stretchr/testify/assert"
     7  
     8  func TestExecShellCmd(t *testing.T) {
     9  
    10  	err := ExecShellCmd([]string{"echo", "$TESTTEST"}, []string{"TESTTEST=123"})
    11  
    12  	assert.Nil(t, err)
    13  
    14  }