i3-dump-log: enable shmlog on demand

fixes #3055
This commit is contained in:
Michael Stapelberg
2017-11-26 17:26:40 +01:00
parent c07936d91b
commit 1facb450c0
2 changed files with 78 additions and 16 deletions

View File

@ -54,7 +54,7 @@ like($stderr, qr#^$#, 'stderr empty');
# 3: change size of the shared memory log buffer and verify old content is gone
################################################################################
cmd 'shmlog ' . (23 * 1024 * 1024);
cmd 'shmlog ' . (1 * 1024 * 1024);
run [ 'i3-dump-log' ],
'>', \$stdout,