Commit 0fecdd87 authored by Kurt Hindenburg's avatar Kurt Hindenburg

skip terminal tests with no shell running on FreeBSD

parent 8f010c7c
......@@ -54,6 +54,10 @@ void TerminalInterfaceTest::testTerminalInterfaceNoShell()
TerminalInterface* terminal = qobject_cast<TerminalInterface*>(_terminalPart);
#if !defined(Q_OS_FREEBSD)
// Skip this for now on FreeBSD
// -1 is current foreground process and name for process 0 is "kernel"
// Verify results when no shell running
int terminalProcessId = terminal->terminalProcessId();
QCOMPARE(terminalProcessId, 0);
......@@ -64,6 +68,7 @@ void TerminalInterfaceTest::testTerminalInterfaceNoShell()
const QString currentWorkingDirectory = terminal->currentWorkingDirectory();
QCOMPARE(currentWorkingDirectory, QString());
delete _terminalPart;
Markdown is supported
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