mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-11 15:29:51 -05:00
Fix logging for no clipping program worked
This commit is contained in:
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());
|
||||
|
Loading…
Reference in New Issue
Block a user