Merge pull request #5080 from lifubang/followup-5079

integration: quote shell value to prevent word splitting
This commit is contained in:
Rodrigo Campos
2026-01-06 16:42:47 -03:00
committed by GitHub
+1 -1
View File
@@ -31,7 +31,7 @@ function teardown() {
}
@test "runc run with new privileges" {
if [ $(awk '$1 == "NoNewPrivs:" { print $2; exit }' /proc/self/status) -ne 0 ]; then
if [ "$(awk '$1 == "NoNewPrivs:" { print $2; exit }' /proc/self/status)" -ne 0 ]; then
skip "requires unset NoNewPrivs"
fi
update_config '.process.noNewPrivileges = false'