Deleted
Added
test_java_isolation_rootfs.py (1596:b7e2d4d92624) | test_java_isolation_rootfs.py (1621:275b26bbd3ae) |
---|---|
1import os 2import subprocess 3import pytest 4 5from unit.applications.lang.java import TestApplicationJava | 1import os 2import subprocess 3import pytest 4 5from unit.applications.lang.java import TestApplicationJava |
6from conftest import option |
|
6 7 8class TestJavaIsolationRootfs(TestApplicationJava): 9 prerequisites = {'modules': {'java': 'all'}} 10 11 def setup_method(self, is_su): 12 super().setup_method() 13 --- 4 unchanged lines hidden (view full) --- 18 os.makedirs(self.temp_dir + '/tmp') 19 os.chmod(self.temp_dir + '/tmp', 0o777) 20 21 try: 22 process = subprocess.Popen( 23 [ 24 "mount", 25 "--bind", | 7 8 9class TestJavaIsolationRootfs(TestApplicationJava): 10 prerequisites = {'modules': {'java': 'all'}} 11 12 def setup_method(self, is_su): 13 super().setup_method() 14 --- 4 unchanged lines hidden (view full) --- 19 os.makedirs(self.temp_dir + '/tmp') 20 os.chmod(self.temp_dir + '/tmp', 0o777) 21 22 try: 23 process = subprocess.Popen( 24 [ 25 "mount", 26 "--bind", |
26 self.pardir + "/build", | 27 option.current_dir + "/build", |
27 self.temp_dir + "/jars", 28 ], 29 stderr=subprocess.STDOUT, 30 ) 31 32 process.communicate() 33 34 except: --- 42 unchanged lines hidden --- | 28 self.temp_dir + "/jars", 29 ], 30 stderr=subprocess.STDOUT, 31 ) 32 33 process.communicate() 34 35 except: --- 42 unchanged lines hidden --- |