Fix logging for no clipping program worked

This commit is contained in:
StableAgOH 2023-10-19 03:27:51 +08:00 committed by Jonathan White
parent b77eb4b905
commit 6b3eaa7f3e
2 changed files with 3 additions and 0 deletions

View file

@ -648,6 +648,7 @@ void TestCli::testClip()
|| errorOutput.contains("No program defined for clipboard manipulation")) {
QSKIP("Clip test skipped due to missing clipboard tool");
}
QVERIFY(!errorOutput.contains("All clipping programs failed"));
m_stderr->readLine(); // Skip password prompt
QCOMPARE(m_stderr->readAll(), QByteArray());