mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-23 15:00:47 -04:00
Fix logging for no clipping program worked
This commit is contained in:
parent
b77eb4b905
commit
6b3eaa7f3e
2 changed files with 3 additions and 0 deletions
|
@ -329,6 +329,8 @@ namespace Utils
|
||||||
|
|
||||||
if (clipProcess->exitCode() == EXIT_SUCCESS) {
|
if (clipProcess->exitCode() == EXIT_SUCCESS) {
|
||||||
return 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")) {
|
|| errorOutput.contains("No program defined for clipboard manipulation")) {
|
||||||
QSKIP("Clip test skipped due to missing clipboard tool");
|
QSKIP("Clip test skipped due to missing clipboard tool");
|
||||||
}
|
}
|
||||||
|
QVERIFY(!errorOutput.contains("All clipping programs failed"));
|
||||||
|
|
||||||
m_stderr->readLine(); // Skip password prompt
|
m_stderr->readLine(); // Skip password prompt
|
||||||
QCOMPARE(m_stderr->readAll(), QByteArray());
|
QCOMPARE(m_stderr->readAll(), QByteArray());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue