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

Fix comment in prlimit test #90

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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