1
0
mirror of https://github.com/docker/compose-cli.git synced 2026-10-25 06:19:18 +03:00

Fix ACI E2E test on windows (file path)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
guillaume.tardif
2020-10-07 10:32:52 +02:00
committed by Guillaume Tardif
parent 886363b44a
commit cd09351b0a

View File

@@ -498,7 +498,8 @@ func TestUpUpdate(t *testing.T) {
composeAccountName = strings.ToLower(composeAccountName)
dstDir := filepath.Join(os.TempDir(), "e2e-aci-volume-"+composeAccountName)
err := fileutil.CopyDirs("../composefiles/aci-demo/", dstDir)
srcDir := filepath.Join("..", "composefiles", "aci-demo")
err := fileutil.CopyDirs(srcDir, dstDir)
assert.NilError(t, err)
t.Cleanup(func() {
assert.NilError(t, os.RemoveAll(dstDir))