[systemd-devel] [PATCH] util, utf8: recognize wide characters in wellipsize_mem()

Shawn shawn at churchofgit.com
Wed Aug 28 15:58:29 PDT 2013


here is the test runner I am using, doesn't really make sense to add this
to the tree as it has to be visually inspected

diff --git a/Makefile.am b/Makefile.am
index cdbfdea..8813299 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1124,6 +1124,7 @@ tests += \
        test-unit-file \
        test-util \
        test-date \
+       test-wellipsize \
        test-sleep \
        test-replace-var \
        test-sched-prio \
@@ -1302,6 +1303,12 @@ test_date_SOURCES = \
 test_date_LDADD = \
        libsystemd-core.la

+test_wellipsize_SOURCES = \
+        src/test/test-wellipsize.c
+
+test_wellipsize_LDADD = \
+        libsystemd-core.la
+
 test_sleep_SOURCES = \
        src/test/test-sleep.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130828/0f8de0fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-wellipsize.c
Type: text/x-csrc
Size: 2685 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130828/0f8de0fe/attachment.c>


More information about the systemd-devel mailing list