Ver Fonte

integration: Fix TestGetContainersExport

The tar changes made the name of the file in the tar archive
change from  "./test" to "test", update the test to the new name.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
Alexander Larsson há 11 anos atrás
pai
commit
bde2d3aef7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      integration/api_test.go

+ 1 - 1
integration/api_test.go

@@ -374,7 +374,7 @@ func TestGetContainersExport(t *testing.T) {
 			}
 			t.Fatal(err)
 		}
-		if h.Name == "./test" {
+		if h.Name == "test" {
 			found = true
 			break
 		}