4 Commits

Author SHA1 Message Date
Dan Williams
076080eedf vlan: add VLAN plugin 2017-04-19 13:41:12 -05:00
Dan Williams
7309649a66 test: CmdAddWithResult sets CNI_PATH from PATH
To actually use CNI plugins in the given CNI_PATH, we need to add
CNI_PATH to PATH because CmdAddWithResult() does this:

os.Setenv("CNI_PATH", os.Getenv("PATH"))
2017-04-18 23:49:26 -05:00
Dan Williams
9ef6f5f723 test: make tests actually work when packages have vendored imports
Go's "..." syntax (eg, ./plugins/...) doesn't traverse symlinks, so
go test wasn't finding the vendor/ directory for imports.  To get around
that we have to specify each testable package specifically rather
than use "...".
2017-04-18 23:40:46 -05:00
Casey Callendrello
559ffa1111 Add simple testing infrastructure 2017-03-13 18:05:55 +01:00