Commit e5b3fa1c authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add FreeBSD test exception and comments

parent e35211e9
......@@ -98,13 +98,17 @@ void TerminalInterfaceTest::testTerminalInterface()
// Start a shell in given directory
// testing failure on FreeBSD
qWarning()<<"Process Name: "<<terminal->foregroundProcessName();
// After fa398f56, the CI test failed; also the KF was updated on that build.
// TODO: research this more
#if !defined(Q_OS_FREEBSD)
// Skip this for now on FreeBSD
// -1 is current foreground process and name for process 0 is "kernel"
int foregroundProcessId = terminal->foregroundProcessId();
QCOMPARE(foregroundProcessId, -1);
QString foregroundProcessName = terminal->foregroundProcessName();
QCOMPARE(foregroundProcessName, QString());
// terminalProcessId() is the user's default shell
// FIXME: find a way to verify this
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment