[systemd-devel] 4 failing tests

Kay Sievers kay at vrfy.org
Fri Nov 30 04:09:01 PST 2012


On Fri, Nov 30, 2012 at 11:43 AM, Ramkumar Ramachandra
<artagnon at gmail.com> wrote:
> Ramkumar Ramachandra wrote:
>> $ ./test-journal
>> Assertion 'journal_file_open("test.journal", O_RDWR|O_CREAT, 0666,
>> true, true, NULL, NULL, NULL, &f) == 0' failed at
>> src/journal/test-journal.c:46, function main(). Aborting.
>> [1]    8059 abort (core dumped)  ./test-journal
>>
>> $ ./test-journal-stream
>> Assertion 'journal_file_open("one.journal", O_RDWR|O_CREAT, 0666,
>> true, false, NULL, NULL, NULL, &one) == 0' failed at
>> src/journal/test-journal-stream.c:88, function main(). Aborting.
>> [1]    8107 abort (core dumped)  ./test-journal-stream
>>
>> $ ./test-journal-verify
>> Generating...
>> Assertion 'journal_file_open("test.journal", O_RDWR|O_CREAT, 0666,
>> true, !!verification_key, NULL, NULL, NULL, &f) == 0' failed at
>> src/journal/test-journal-verify.c:87, function main(). Aborting.
>> [1]    8154 abort (core dumped)  ./test-journal-verify
>
> These tests fail due to the code in src/journal-file.c:167, which
> again checks for /etc/machine-id.  Why do you expect this file to be
> present?

It is mandatory for systemd systems. We just require it to be around,
and do not work around it.

Kay


More information about the systemd-devel mailing list