On Sat, Apr 12, 2014 at 3:10 PM, Mike Gilbert <flop...@gentoo.org> wrote: > On Sat, Apr 12, 2014 at 1:40 PM, Zbigniew Jędrzejewski-Szmek > <zbys...@in.waw.pl> wrote: >>> +static void test_fsck_exists(void) { >>> + /* Ensure we use a sane default for PATH. */ >>> + unsetenv("PATH"); >>> + >>> + /* fsck.minix is provided by util-linux and will probably exist. */ >>> + assert(fsck_exists("minix") == 0); >>> + >>> + assert(fsck_exists("AbCdE") == -ENOENT); >>> +} >> assert_se(). >> > > We are comparing integers, not strings. This matches the other integer > comparisons in this source file. >
I guess I have misinterpreted what "assert_se" means... is that documented somewhere? _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel