kde-workspace/kioslave/fish/tests
2015-09-01 04:37:19 +03:00
..
CMakeLists.txt generic: major build system cleanup 2015-09-01 04:37:19 +03:00
copytester.cpp imported everything from kde-runtime 2014-11-15 04:16:00 +02:00
copytester.h imported everything from kde-runtime 2014-11-15 04:16:00 +02:00
main.cpp imported everything from kde-runtime 2014-11-15 04:16:00 +02:00
README imported everything from kde-runtime 2014-11-15 04:16:00 +02:00

copytester is a test case for the fish kioslave. It copies 100 files from /tmp to /tmp/test using fish's functions.
It was written to verify KDE bug 147948: https://bugs.kde.org/show_bug.cgi?id=147948

To run it, do the following:
mkdir /tmp/test
for i in $(seq 1 1 100); do touch /tmp/fishtest${i}.txt; done
cmake . && make -j4 && rm /tmp/test/*; ./copytester

Then, to run it again and again, do:
rm /tmp/test/*; ./copytester

If the program is successful (i.e. the bug does not exist) it will terminate, otherwise, run infinitely.

More info: http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_fish