open-nomad/client/driver/executor/exec_linux_test.go

18 lines
356 B
Go
Raw Normal View History

package executor
import (
"testing"
2015-09-25 23:49:14 +00:00
ctestutil "github.com/hashicorp/nomad/client/testutil"
"github.com/hashicorp/nomad/helper/testtask"
)
func init() {
// Add test binary to chroot during test run.
chrootEnv[testtask.Path()] = testtask.Path()
}
func TestExecutorLinux(t *testing.T) {
testExecutor(t, NewLinuxExecutor, ctestutil.ExecCompatible)
}