Bug 323978 - test_kconf_update does not test the result of executing kconf_update
Summary: test_kconf_update does not test the result of executing kconf_update
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kded (other bugs)
Version First Reported In: 4.10.5
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-24 17:30 UTC by Christopher Yeleighton
Modified: 2024-09-14 16:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Adds a test that the kconf_update process completed successfully (890 bytes, patch)
2013-08-24 17:32 UTC, Christopher Yeleighton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2013-08-24 17:30:58 UTC
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.
Comment 1 Christopher Yeleighton 2013-08-24 17:32:51 UTC
Created attachment 81893 [details]
Adds a test that the kconf_update process completed successfully
Comment 2 Christoph Cullmann 2024-09-14 16:18:06 UTC
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