Currently,in test case dma_memtest,it put the cache dir,which used to put the download files in it, down to self.bindir. Now Chang the cache dir to parent dir of self.srcdir,that is to say by default is client/tmp/dma_memtest/cache
Signed-off-by: Mike Qiu <[email protected]> --- client/tests/dma_memtest/dma_memtest.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/dma_memtest/dma_memtest.py b/client/tests/dma_memtest/dma_memtest.py index e0eef67..e4cf17b 100644 --- a/client/tests/dma_memtest/dma_memtest.py +++ b/client/tests/dma_memtest/dma_memtest.py @@ -14,7 +14,7 @@ class dma_memtest(test.test): """ version = 1 def initialize(self): - self.cachedir = os.path.join(self.bindir, 'cache') + self.cachedir = os.path.join(os.path.dirname(self.srcdir), 'cache') self.nfail = 0 -- 1.7.7.6 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
