From: Karel Zak Date: Fri, 24 Apr 2015 15:09:17 +0000 (+0200) Subject: test_uuidd: add comment X-Git-Tag: v2.27-rc1~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f47fd2e0cc76ea2dafd0bd384d8586d4c901e3;p=thirdparty%2Futil-linux.git test_uuidd: add comment Signed-off-by: Karel Zak --- diff --git a/tests/helpers/test_uuidd.c b/tests/helpers/test_uuidd.c index f098c4ac47..1262e359d7 100644 --- a/tests/helpers/test_uuidd.c +++ b/tests/helpers/test_uuidd.c @@ -5,6 +5,23 @@ * SAP Technology Group * * Copyright (C) 2015 Karel Zak + * + * + * The test heavily uses shared memory, to enlarge maximal size of shared + * segment use: + * + * echo "4294967295" > /proc/sys/kernel/shmm + * + * The test is compiled against in-tree libuuid, if you want to test uuidd + * installed to the system then make sure that libuuid uses the same socket + * like the running uuidd. You can start the uuidd manually, for example: + * + * uuidd --debug --no-fork --no-pid --socket /run/uuidd/request + * + * if the $localstatedir (as defined by build-system) is /run. If you want + * to overwrite the built-in default then use: + * + * make uuidd uuidgen localstatedir=/var */ #include #include