On Sat, Apr 12, 2014 at 3:10 PM, Mike Gilbert <[email protected]> wrote: > On Sat, Apr 12, 2014 at 1:40 PM, Zbigniew Jędrzejewski-Szmek > <[email protected]> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
