mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #26153 from Microsoft/jjh/testcommitcli
Windows: Enable some commit tests
This commit is contained in:
commit
cf3e834c9b
1 changed files with 0 additions and 3 deletions
|
@ -8,7 +8,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *DockerSuite) TestCommitAfterContainerIsDone(c *check.C) {
|
func (s *DockerSuite) TestCommitAfterContainerIsDone(c *check.C) {
|
||||||
testRequires(c, DaemonIsLinux)
|
|
||||||
out, _ := dockerCmd(c, "run", "-i", "-a", "stdin", "busybox", "echo", "foo")
|
out, _ := dockerCmd(c, "run", "-i", "-a", "stdin", "busybox", "echo", "foo")
|
||||||
|
|
||||||
cleanedContainerID := strings.TrimSpace(out)
|
cleanedContainerID := strings.TrimSpace(out)
|
||||||
|
@ -55,7 +54,6 @@ func (s *DockerSuite) TestCommitPausedContainer(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestCommitNewFile(c *check.C) {
|
func (s *DockerSuite) TestCommitNewFile(c *check.C) {
|
||||||
testRequires(c, DaemonIsLinux)
|
|
||||||
dockerCmd(c, "run", "--name", "commiter", "busybox", "/bin/sh", "-c", "echo koye > /foo")
|
dockerCmd(c, "run", "--name", "commiter", "busybox", "/bin/sh", "-c", "echo koye > /foo")
|
||||||
|
|
||||||
imageID, _ := dockerCmd(c, "commit", "commiter")
|
imageID, _ := dockerCmd(c, "commit", "commiter")
|
||||||
|
@ -87,7 +85,6 @@ func (s *DockerSuite) TestCommitHardlink(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestCommitTTY(c *check.C) {
|
func (s *DockerSuite) TestCommitTTY(c *check.C) {
|
||||||
testRequires(c, DaemonIsLinux)
|
|
||||||
dockerCmd(c, "run", "-t", "--name", "tty", "busybox", "/bin/ls")
|
dockerCmd(c, "run", "-t", "--name", "tty", "busybox", "/bin/ls")
|
||||||
|
|
||||||
imageID, _ := dockerCmd(c, "commit", "tty", "ttytest")
|
imageID, _ := dockerCmd(c, "commit", "tty", "ttytest")
|
||||||
|
|
Loading…
Reference in a new issue