From 28f47fd2e0cc76ea2dafd0bd384d8586d4c901e3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 24 Apr 2015 17:09:17 +0200 Subject: test_uuidd: add comment Signed-off-by: Karel Zak --- tests/helpers/test_uuidd.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests/helpers') diff --git a/tests/helpers/test_uuidd.c b/tests/helpers/test_uuidd.c index f098c4ac4..1262e359d 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 -- cgit v1.2.3-55-g7522