aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-06-04 15:35:08 +0200
committerhjk <hjk@qt.io>2019-06-05 05:42:44 +0000
commit0c3f4b0d854c3fdb49d2d50e25db13b9d3c1490c (patch)
tree6fd3c704d09a71e069f6a929767f6c0b4b76c62e /tests/auto
parent95a89b561534ad336bd2d4b96942d8ab78064f68 (diff)
Ssh: Tiny test simplification
Change-Id: I199e2b422288d29d0a3a059ddc0d145bcb27082b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/ssh/tst_ssh.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/ssh/tst_ssh.cpp b/tests/auto/ssh/tst_ssh.cpp
index 22e7062fde..5ce94b7462 100644
--- a/tests/auto/ssh/tst_ssh.cpp
+++ b/tests/auto/ssh/tst_ssh.cpp
@@ -313,8 +313,7 @@ void tst_Ssh::remoteProcessInput()
SshConnection connection(params);
QVERIFY(waitForConnection(connection));
- SshRemoteProcessPtr catProcess
- = connection.createRemoteProcess(QString::fromLatin1("/bin/cat").toUtf8());
+ SshRemoteProcessPtr catProcess = connection.createRemoteProcess("/bin/cat");
QEventLoop loop;
connect(catProcess.get(), &SshRemoteProcess::started, &loop, &QEventLoop::quit);
connect(catProcess.get(), &SshRemoteProcess::done, &loop, &QEventLoop::quit);