Attached is kind of a test suite for xdgmime. It's rather simple and small, but it already catches few bugs.
Created attachment 8317 [details] test thing It contains xdgmime folder in it; to run tests do ./test.py, it will build python module and everything and run tests; tweak Makefile as you like, e.g. to change location of xdgmime source folder or to define/undef HAVE_MMAP.
Created attachment 8318 [details] updated test thing
Created attachment 8319 [details] fixed test thing
Could you please update the test suite to be a patch?
I can't, CVS won't let me create directories. It works as it is with today's xdgmime checkout though.
(In reply to comment #5) > I can't, CVS won't let me create directories. It works as it is with today's > xdgmime checkout though. for i in "added_files" ; do diff -up /dev/null $i >> patch ; done
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdgmime/issues/18.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.