Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2706

Create Test for SshRemoteProcess

XMLWordPrintable

    • 4b4e591ff6722eb381bb7defdac7b4b4586b8e5a

      We already have a basic test for error behaviour and for SFTP. We should add one for SshRemoteProcess as well, testing a successful and a deliberatly unsuccessful run of an application that produces output.
      For example:

      • "ls /tmp": We should get output on stdout, nothing on stderr and a regular exit with code 0.
      • "ls dfrggfgfdgfd": We should get nothing on stdout, a message on stderr and a regular exit with code != 0.
      • and a third example that crashes, so we can test whether we get the "killed by signal" error (e.g. start an additional "kill process").

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes