Skip to content

validate_test: add test func#537

Merged
Mashimiao merged 2 commits intoopencontainers:masterfrom
zhouhao3:add-validate-test
Dec 13, 2017
Merged

validate_test: add test func#537
Mashimiao merged 2 commits intoopencontainers:masterfrom
zhouhao3:add-validate-test

Conversation

@zhouhao3
Copy link
Copy Markdown

@zhouhao3 zhouhao3 commented Dec 8, 2017

There are some waiting improvements for the validation of the mounts, and the test function can be added later.

Signed-off-by: Zhou Hao zhouhao@cn.fujitsu.com

Zhou Hao added 2 commits December 8, 2017 09:55
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
},
}
for _, c := range cases {
v := NewValidator(&c.val, ".", false, "linux")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want a test to demonstrate that Hooks is ignored on Windows?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add it later because the corresponding verification code is not perfect yet.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add it later because the corresponding verification code is not perfect yet.

Ah right, it is blocked on #538.

@liangchenye
Copy link
Copy Markdown
Member

liangchenye commented Dec 13, 2017

LGTM

Approved with PullApprove

1 similar comment
@Mashimiao
Copy link
Copy Markdown

Mashimiao commented Dec 13, 2017

LGTM

Approved with PullApprove

@Mashimiao Mashimiao merged commit 9518371 into opencontainers:master Dec 13, 2017
@zhouhao3 zhouhao3 deleted the add-validate-test branch December 13, 2017 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants