def test_normal_exit(self):
        reactor = FakeProcessReactor()
        result = zfs_command(reactor, [b"-H", b"lalala"])
        process_protocol = reactor.processes[0].processProtocol
        process_protocol.childDataReceived(1, b"abc")
        process_protocol.childDataReceived(1, b"def")
        process_protocol.processEnded(Failure(ProcessDone(0)))
        self.assertEqual(self.successResultOf(result), b"abcdef")
If the subprocess exits with exit code 0, the bytes output by its
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/test/test_filesystems_zfs.py/ZFSCommandTests.test_normal_exit