def test_error_exit(self):
        reactor = FakeProcessReactor()
        result = zfs_command(reactor, [b"-H", b"lalala"])
        process_protocol = reactor.processes[0].processProtocol
        process_protocol.processEnded(Failure(ProcessTerminated(1)))
        self.failureResultOf(result, CommandFailed)
If the subprocess exits with exit code 1, the ``Deferred`` returned
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/test/test_filesystems_zfs.py/ZFSCommandTests.test_error_exit