зеркало из https://github.com/microsoft/docker.git
Minor fix of tests names
Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
This commit is contained in:
Родитель
fbaa41b5aa
Коммит
fcfe80f633
|
@ -488,8 +488,8 @@ func TestBuildCopyWildcardCache(t *testing.T) {
|
||||||
logDone("build - copy wild card cache")
|
logDone("build - copy wild card cache")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBuildAddSingleFileToNonExistDir(t *testing.T) {
|
func TestBuildAddSingleFileToNonExistingDir(t *testing.T) {
|
||||||
name := "testaddsinglefiletononexistdir"
|
name := "testaddsinglefiletononexistingdir"
|
||||||
defer deleteImages(name)
|
defer deleteImages(name)
|
||||||
ctx, err := fakeContext(`FROM busybox
|
ctx, err := fakeContext(`FROM busybox
|
||||||
RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
|
RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
|
||||||
|
@ -536,8 +536,8 @@ RUN [ $(ls -l /exists | awk '{print $3":"$4}') = 'dockerio:dockerio' ]`,
|
||||||
logDone("build - add directory contents to root")
|
logDone("build - add directory contents to root")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBuildAddDirContentToExistDir(t *testing.T) {
|
func TestBuildAddDirContentToExistingDir(t *testing.T) {
|
||||||
name := "testadddircontenttoexistdir"
|
name := "testadddircontenttoexistingdir"
|
||||||
defer deleteImages(name)
|
defer deleteImages(name)
|
||||||
ctx, err := fakeContext(`FROM busybox
|
ctx, err := fakeContext(`FROM busybox
|
||||||
RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
|
RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
|
||||||
|
|
Загрузка…
Ссылка в новой задаче