test_kconf_update does not test the result of executing kconf_update as a process Reproducible: Always Steps to Reproduce: 1. { ln -sT . /home/abuild/rpmbuild/BUILDROOT/kdelibs4-4.10.5-24.1.x86_64/usr/share/kde4/share } 2. { export \ KDEDIRS=\ /home/abuild/rpmbuild/BUILDROOT/kdelibs4-4.10.5-24.1.x86_64/usr:\ /home/abuild/rpmbuild/BUILDROOT/kdelibs4-4.10.5-24.1.x86_64/usr/share/kde4 } 3. { cd build; } 4. { xinit\ /usr/bin/dbus-launch\ /bin/bash\ -c '/usr/bin/make ARGS=-V test && /usr/bin/mkdir "${HOME}/.kde-unit-test/success"'\ -- /usr/bin/Xvfb :1 } Actual Results: [ 4929s] 132: Test command: /home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/build/bin/test_kconf_update.shell [ 4929s] 132: Test timeout computed to be: 1500 [ 4929s] 132: ********* Start testing of TestKConfUpdate ********* [ 4929s] 132: Config: Using QTest library 4.8.5, Qt 4.8.5 [ 4929s] 132: PASS : TestKConfUpdate::initTestCase() [ 4929s] 132: Loc: [/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/kconf_update/tests/test_kconf_update.cpp(72)] [ 4929s] 132: FAIL! : TestKConfUpdate::test(moveKeysSameFile) Compared values are not the same Expected Results: [ 4929s] 132: Test command: /home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/build/bin/test_kconf_update.shell [ 4929s] 132: Test timeout computed to be: 1500 [ 4929s] 132: ********* Start testing of TestKConfUpdate ********* [ 4929s] 132: Config: Using QTest library 4.8.5, Qt 4.8.5 [ 4929s] 132: PASS : TestKConfUpdate::initTestCase() [ 4929s] 132: FAIL! : TestKConfUpdate::test(moveKeysSameFile) 'p .error () == p .UnknownError' returned FALSE. (No such file or directory) [ 4929s] 132: Loc: [/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/kconf_update/tests/test_kconf_update.cpp(72)] [ 4929s] 132: FAIL! : TestKConfUpdate::test(moveKeysSameFile) Compared values are not the same The additional message I added shows the operator why the test went wrong.
Created attachment 81893 [details] Adds a test that the kconf_update process completed successfully
Hi, kdelibs (version 4 and earlier) is no longer maintained since a few years. KDE Frameworks 5 or 6 might already have implemented this wish. If not, please re-open against the matching framework if feasible or against the application that shows the issue. We then can still dispatch it to the right Bugzilla product or component. Greetings Christoph Cullmann