src/tests/pkg5unittest.py
changeset 2373 0569a9dc0072
parent 2364 7598ee41dcbc
child 2381 45a20c3a277a
--- a/src/tests/pkg5unittest.py	Tue May 24 11:01:53 2011 -0700
+++ b/src/tests/pkg5unittest.py	Tue May 24 16:17:07 2011 -0700
@@ -1525,7 +1525,7 @@
 
                 if destroy:
                         self.image_destroy()
-                os.mkdir(self.img_path())
+                mkdir_eexist_ok(self.img_path())
 
                 self.debug("image_create %s" % self.img_path())
                 progtrack = pkg.client.progress.NullProgressTracker()