diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-18 17:40:32 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-18 18:54:00 -0500 |
commit | dbf1f77bf727f7566f25553232b33843ecc172f0 (patch) | |
tree | b9f7f5e48927478da2b26dc8c87b6761934714d0 /src | |
parent | e40872fc538f3216fd4d00aa969785b999a357bf (diff) |
test-cap-list: allow mismatch in case
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test-cap-list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test-cap-list.c b/src/test/test-cap-list.c index 238f876f2a..7c5ae18b25 100644 --- a/src/test/test-cap-list.c +++ b/src/test/test-cap-list.c @@ -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; |