Skip to content

Commit

Permalink
[test suite] another bogus user test for fko-wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mrash committed Aug 19, 2018
1 parent d7aacb6 commit e82cb86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/fko-wrapper/fko_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,12 @@ test_loop(int new_ctx_flag, int destroy_ctx_flag)
ctx_update(&ctx, new_ctx_flag, destroy_ctx_flag, DO_PRINT);
}

for (i=0; i<FCN_CALLS; i++) {
printf("fko_set_username(bogus|user): %s\n",
fko_errstr(fko_set_username(ctx, "bogus|user")));
ctx_update(&ctx, new_ctx_flag, destroy_ctx_flag, DO_PRINT);
}

spa_func_getset_short(&ctx, "fko_set_spa_encryption_type",
&fko_set_spa_encryption_type, "fko_get_spa_encryption_type",
&fko_get_spa_encryption_type, FKO_ENCRYPTION_INVALID_DATA-F_INT,
Expand Down

0 comments on commit e82cb86

Please sign in to comment.