https://bugs.kde.org/show_bug.cgi?id=477248
Bug ID: 477248 Summary: KProcessTest::test_inheritance failed on OpenBSD Classification: Frameworks and Libraries Product: frameworks-kcoreaddons Version: 5.112.0 Platform: Other OS: OpenBSD Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: mp...@kde.org Reporter: raf...@sizeofvoid.org CC: kdelibs-b...@kde.org Target Milestone: --- I'm trying to improve the KDE framwork support on OpenBSD and I ran into a wired issue. Why is /bin/true expected and not /bin/sh. In KProcess::setShellCommand we set QProcess::setProgram(shell) and before we return arguments() we add "argv.prepend(QProcess::program());". I would like to fix this but don't understand it and would appreciate any tips. ./kprocesstest ********* Start testing of KProcessTest ********* Config: Using QtTest library 5.15.11, Qt 5.15.11 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 16.0.6 ), unknown unknown PASS : KProcessTest::initTestCase() PASS : KProcessTest::test_channels() PASS : KProcessTest::test_setShellCommand() FAIL! : KProcessTest::test_inheritance() Compared values are not the same Actual (qproc->program()) : "/bin/sh" Expected (QStringLiteral("/bin/true")): "/bin/true" Loc: [/usr/ports/pobj/kcoreaddons-5.111.0/kcoreaddons-5.111.0/autotests/kprocesstest.cpp(112)] PASS : KProcessTest::cleanupTestCase() Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 62ms ********* Finished testing of KProcessTest ********* -- You are receiving this mail because: You are watching all bug changes.