From a9ffe72599d7230bffd545a0658ed565df77a5a2 Mon Sep 17 00:00:00 2001 From: Arnaud Lemaire Date: Fri, 20 Nov 2015 10:53:31 +0100 Subject: [PATCH] #71 force test aci's target to stay in aci build dir when using targetWorkDir --- builder/aci-test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/aci-test.go b/builder/aci-test.go index 473db492..6df39637 100644 --- a/builder/aci-test.go +++ b/builder/aci-test.go @@ -161,6 +161,8 @@ func (cnt *Aci) prepareTestAci() (*Aci, error) { }, NameAndVersion: *fullname, }, nil) + testAci.target = cnt.target + PATH_TESTS + PATH_TARGET // this is required when target is deported + testAci.rootfs = testAci.target + PATH_ROOTFS if err != nil { panic("Cannot build test aci" + err.Error()) }