mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix logging for no clipping program worked
This commit is contained in:
committed by
Jonathan White
parent
b77eb4b905
commit
6b3eaa7f3e
@@ -329,6 +329,8 @@ namespace Utils
|
||||
|
||||
if (clipProcess->exitCode() == EXIT_SUCCESS) {
|
||||
return EXIT_SUCCESS;
|
||||
} else {
|
||||
failedProgramNames.append(prog.first);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user