diff options
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) |