integration test fix

make the mount point for shared.txt reside in the /tmp/ folder
because if it resides in the lib folder docker sets the owner of the
folder as root inside the container so then when the container exists
the test fails to cleanup and remove the shared.txt file, and breaks git as well.
This commit is contained in:
Deni Bertovic 2013-10-03 11:48:18 +02:00
parent 1ce8dc962c
commit afbfc703ca
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class TestCreateContainer(BaseTestCase):
class TestCreateContainerWithBinds(BaseTestCase): class TestCreateContainerWithBinds(BaseTestCase):
def runTest(self): def runTest(self):
mount_dest = '/mnt' mount_dest = '/mnt'
mount_origin = os.getcwd() mount_origin = '/tmp'
filename = 'shared.txt' filename = 'shared.txt'
shared_file = os.path.join(mount_origin, filename) shared_file = os.path.join(mount_origin, filename)