1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-09 12:58:26 +03:00

test-cap-list: allow mismatch in case

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-12-18 17:40:32 -05:00
parent e40872fc53
commit dbf1f77bf7

View File

@ -52,8 +52,8 @@ int main(int argc, char *argv[]) {
assert_se(a = cap_to_name(i));
/* quite the loop as soon as libcap only returns
* numeric ids, formatted as string */
/* quit the loop as soon as libcap starts returning
* numeric ids, formatted as strings */
if (safe_atou(a, &u) >= 0)
break;
@ -61,7 +61,7 @@ int main(int argc, char *argv[]) {
printf("%s vs. %s\n", a, b);
assert_se(streq(a, b));
assert_se(strcasecmp(a, b) == 0);
}
return 0;