Skip to content
Open
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
4 changes: 2 additions & 2 deletions tests/prlimit/test
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ $result = system(
);
ok($result); # we expect this to fail.

# Verify that test_getrlimit_t can get limits of test_setrlimit_child_t
# Verify that test_getrlimit_t can get limits of test_getrlimit_child_t
$result = system(
"runcon -t test_getrlimit_t $basedir/parent -g test_getrlimit_child_t $basedir/child 2>&1"
);
ok( $result, 0 ); # we expect this to succeed.

# Verify that test_no_getrlimit_t cannot get limit of test_setrlimit_child_t
# Verify that test_no_getrlimit_t cannot get limit of test_getrlimit_child_t
$result = system(
"runcon -t test_no_getrlimit_t $basedir/parent -g test_getrlimit_child_t $basedir/child 2>&1"
);
Expand Down