[fix] Issue #550: generates extra workspace folder (#557)

* [fix] Issue #550: generates extra workspace folder

Signed-off-by: Cole Lightfighter <cole@onicsla.bz>

* Slight workspace and store refactor
This commit is contained in:
cole-lightfighter
2017-11-13 12:20:57 -05:00
committed by Yan Ivnitskiy
parent 9535ec8fd3
commit 08f86cc892
4 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class ManticoreTest(unittest.TestCase):
import os, struct
self.m = Manticore('tests/binaries/basic_linux_amd64')
self.m.run()
workspace = self.m._output.uri# os.path.join(os.getcwd(), self.m.workspace)
workspace = self.m._output.store.uri
with open(os.path.join(workspace, 'test_00000000.stdin')) as f:
a = struct.unpack('<I', f.read())[0]
with open(os.path.join(workspace, 'test_00000001.stdin')) as f: