integration-cli: add test requirement ExecSupport
Skip tests based on remote daemon's exec support (to exclude these tests from `make test` ran in LXC case). Makes use of `test_no_exec` build tag passed by build scripts. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com> Upstream-commit: 102e0611475c7267dd4d2a87044fcc40b2eddcc0 Component: engine
This commit is contained in:
@ -231,7 +231,7 @@ func TestLinksNotStartedParentNotFail(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLinksHostsFilesInject(t *testing.T) {
|
||||
testRequires(t, SameHostDaemon)
|
||||
testRequires(t, SameHostDaemon, ExecSupport)
|
||||
|
||||
defer deleteAllContainers()
|
||||
|
||||
@ -285,7 +285,7 @@ func TestLinksNetworkHostContainer(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLinksUpdateOnRestart(t *testing.T) {
|
||||
testRequires(t, SameHostDaemon)
|
||||
testRequires(t, SameHostDaemon, ExecSupport)
|
||||
|
||||
defer deleteAllContainers()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user