github.com/ryanslade/nomad@v0.2.4-0.20160128061903-fc95782f2089/client/driver/executor/exec_linux_test.go (about)

     1  package executor
     2  
     3  import (
     4  	"testing"
     5  
     6  	ctestutil "github.com/hashicorp/nomad/client/testutil"
     7  	"github.com/hashicorp/nomad/helper/testtask"
     8  )
     9  
    10  func init() {
    11  	// Add test binary to chroot during test run.
    12  	chrootEnv[testtask.Path()] = testtask.Path()
    13  }
    14  
    15  func TestExecutorLinux(t *testing.T) {
    16  	t.Parallel()
    17  	testExecutor(t, NewLinuxExecutor, ctestutil.ExecCompatible)
    18  }