Fix stderr file creation and test for it going forwards (#495)

* fix stderr file creation and test for it going forwards

* consolidate tests

* clean up imports
This commit is contained in:
JP Smith
2017-09-13 19:17:13 -05:00
committed by GitHub
parent 58cdee814c
commit 0efa37933a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ class ManticoreOutput(object):
fd.write('{SolverException}')
with self._named_stream('stdout') as _out:
with self._named_stream('stdout') as _err:
with self._named_stream('stderr') as _err:
with self._named_stream('stdin') as _in:
with self._named_stream('net') as _net:
for name, fd, data in state.platform.syscall_trace:
+1
View File
@@ -104,6 +104,7 @@ class StateTest(unittest.TestCase):
self.assertIn('trace', keys)
self.assertIn('syscalls', keys)
self.assertIn('stdout', keys)
self.assertIn('stderr', keys)
self.assertIn('stdin', keys)
self.assertIn('messages', keys)
self.assertIn('txt', keys)