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:
Ahmet Alp Balkan
2015-02-20 23:24:30 -08:00
parent 5db21189fd
commit 888a374311
4 changed files with 22 additions and 2 deletions

View File

@ -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()