Currently,in test case lsb_dtk,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/lsb_dtk/cache

Signed-off-by: Mike Qiu <[email protected]>
---
 client/tests/lsb_dtk/lsb_dtk.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/lsb_dtk/lsb_dtk.py b/client/tests/lsb_dtk/lsb_dtk.py
index 2f1beca..d71bc36 100644
--- a/client/tests/lsb_dtk/lsb_dtk.py
+++ b/client/tests/lsb_dtk/lsb_dtk.py
@@ -25,7 +25,7 @@ class lsb_dtk(test.test):
             raise error.TestError(e_msg)
 
         self.config = config_loader(config, self.tmpdir)
-        self.cachedir = os.path.join(self.bindir, 'cache')
+        self.cachedir = os.path.join(os.path.dirname(self.srcdir), 'cache')
         if not os.path.isdir(self.cachedir):
             os.makedirs(self.cachedir)
 
-- 
1.7.7.6

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to