Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
| ... | ... |
@@ -7,7 +7,7 @@ import ( |
| 7 | 7 |
"testing" |
| 8 | 8 |
) |
| 9 | 9 |
|
| 10 |
-func TestImageRemoveWithContainerFails(t *testing.T) {
|
|
| 10 |
+func TestRmiWithContainerFails(t *testing.T) {
|
|
| 11 | 11 |
errSubstr := "is using it" |
| 12 | 12 |
|
| 13 | 13 |
// create a container |
| ... | ... |
@@ -38,7 +38,7 @@ func TestImageRemoveWithContainerFails(t *testing.T) {
|
| 38 | 38 |
logDone("rmi- container using image while rmi, should not remove image name")
|
| 39 | 39 |
} |
| 40 | 40 |
|
| 41 |
-func TestImageTagRemove(t *testing.T) {
|
|
| 41 |
+func TestRmiTag(t *testing.T) {
|
|
| 42 | 42 |
imagesBefore, _, _ := cmd(t, "images", "-a") |
| 43 | 43 |
cmd(t, "tag", "busybox", "utest:tag1") |
| 44 | 44 |
cmd(t, "tag", "busybox", "utest/docker:tag2") |