Skip to content
Merged
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
3 changes: 3 additions & 0 deletions tests/integration/capabilities.bats
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
}

@test "runc run with new privileges" {
if [ $(awk '$1 == "NoNewPrivs:" { print $2; exit }' /proc/self/status) -ne 0 ]; then

Check warning on line 34 in tests/integration/capabilities.bats

View workflow job for this annotation

GitHub Actions / shellcheck

Quote this to prevent word splitting.
skip "requires unset NoNewPrivs"
fi
update_config '.process.noNewPrivileges = false'
runc run test_new_privileges
[ "$status" -eq 0 ]
Expand Down
Loading