On Fri, Nov 30, 2012 at 06:47:42PM +0530, Ramkumar Ramachandra wrote:
> The following tests fail if /etc/machine-id is not present:
> +        if (journal_file_open("one.journal", O_RDWR|O_CREAT, 0666, true, 
> false, NULL, NULL, NULL, &one) == -128) {
> +                printf("skipping test: /etc/machine-id not preset\n");
> +                return 0;
> +        }
> +
>          assert_se(journal_file_open("one.journal", O_RDWR|O_CREAT, 0666, 
> true,Hm, this seems fairly intrusive. What about just adding a simple
test in the Makefile, which adds this test to the list of tests
only if /etc/machine-id does not exist?

Zbyszek
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to