Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: drop trailing white spaces #284

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions tests/check_parse_fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,11 @@ START_TEST (test_parse_basic_fc_file) {

cur = cur->next;

ck_assert_int_eq(cur->flavor, NODE_EMPTY);
ck_assert_ptr_nonnull(cur->next);

cur = cur->next;

ck_assert_int_eq(cur->flavor, NODE_ERROR);
ck_assert_ptr_nonnull(cur->next);

cur = cur->next;

ck_assert_int_eq(cur->flavor, NODE_EMPTY);
ck_assert_ptr_nonnull(cur->next);

cur = cur->next;

ck_assert_int_eq(cur->flavor, NODE_FC_ENTRY);
ck_assert_ptr_nonnull(cur->next);

Expand Down
4 changes: 2 additions & 2 deletions tests/sample_policy_files/basic.fc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/usr/bin/basic -- gen_context(system_u:object_r:basic_t, s0)
/etc/basic(/.*)? gen_context(system_u:object_r:basic_conf_t, s0)

/var/www/basic gen_this_is_an_error(system_u:obect_r:basic_conf_t, s0)

/var/log/basic.log -- system_u:object_r:basic_log_t:s0

/var/www/basic/basic.conf -- gen_context(system_u:object_r:basic_conf_t, s0, c1)
2 changes: 1 addition & 1 deletion tests/sample_policy_files/none_context.fc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/path/path <<none>>
/path/path2 <<none>>
/path/path2 <<none>>