[systemd-devel] 4 failing tests
Ramkumar Ramachandra
artagnon at gmail.com
Fri Nov 30 02:43:02 PST 2012
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?
Ram
More information about the systemd-devel
mailing list