diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-04 18:50:07 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-04 18:50:07 (GMT) |
commit | b9fe3a839e9212b809d64c11bf92b703adb18fb2 (patch) | |
tree | 86a1c42f305265372bb4d697dad9c99f2ea3715a /tests/analysis/disass | |
parent | 0b2cada60941d109bde2f54a198f4c3a799e0606 (diff) |
Updated the test suite for the current API.
Diffstat (limited to 'tests/analysis/disass')
-rw-r--r-- | tests/analysis/disass/block.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/analysis/disass/block.py b/tests/analysis/disass/block.py index 8de44e1..1663150 100644 --- a/tests/analysis/disass/block.py +++ b/tests/analysis/disass/block.py @@ -26,7 +26,7 @@ class TestBasicBlocks(ChrysalideTestCase): fullname = sys.modules[cls.__module__].__file__ dirpath = os.path.dirname(fullname) - os.system('make -C %s hello 2>&1 > /dev/null' % dirpath) + os.system('make -C %s hello > /dev/null 2>&1' % dirpath) @classmethod @@ -39,7 +39,7 @@ class TestBasicBlocks(ChrysalideTestCase): fullname = sys.modules[cls.__module__].__file__ dirpath = os.path.dirname(fullname) - os.system('make -C %s clean 2>&1 > /dev/null' % dirpath) + os.system('make -C %s clean > /dev/null 2>&1' % dirpath) def testBlockList(self): @@ -67,7 +67,7 @@ class TestBasicBlocks(ChrysalideTestCase): found = sym.basic_blocks.find_by_starting_addr(sym.range.addr) self.assertIsNotNone(found) - self.assertEqual(found, sym.basic_blocks.items[0]) + self.assertEqual(found, list(sym.basic_blocks)[0]) self.assertEqual(found.index, 0) |