test/distro: Set unprivileged_userns_clone on Debian Buster and earlier
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
081f7c8f4c
commit
a20d269630
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,7 @@ host make clean
|
||||||
hout RET CFLAGS="-Werror" make; echo $?
|
hout RET CFLAGS="-Werror" make; echo $?
|
||||||
check [ __RET__ -eq 0 ]
|
check [ __RET__ -eq 0 ]
|
||||||
|
|
||||||
|
host sysctl -w kernel.unprivileged_userns_clone=1
|
||||||
distro_quick_pasta_test
|
distro_quick_pasta_test
|
||||||
|
|
||||||
hint
|
hint
|
||||||
|
@ -116,6 +117,7 @@ host make clean
|
||||||
hout RET CFLAGS="-Werror" make; echo $?
|
hout RET CFLAGS="-Werror" make; echo $?
|
||||||
check [ __RET__ -eq 0 ]
|
check [ __RET__ -eq 0 ]
|
||||||
|
|
||||||
|
host sysctl -w kernel.unprivileged_userns_clone=1
|
||||||
distro_quick_pasta_test
|
distro_quick_pasta_test
|
||||||
|
|
||||||
hint
|
hint
|
||||||
|
@ -147,6 +149,7 @@ host make clean
|
||||||
hout RET CFLAGS="-Werror" make; echo $?
|
hout RET CFLAGS="-Werror" make; echo $?
|
||||||
check [ __RET__ -eq 0 ]
|
check [ __RET__ -eq 0 ]
|
||||||
|
|
||||||
|
host sysctl -w kernel.unprivileged_userns_clone=1
|
||||||
distro_quick_pasta_test
|
distro_quick_pasta_test
|
||||||
|
|
||||||
hint
|
hint
|
||||||
|
@ -179,6 +182,7 @@ host make clean
|
||||||
hout RET CFLAGS="-Werror" make; echo $?
|
hout RET CFLAGS="-Werror" make; echo $?
|
||||||
check [ __RET__ -eq 0 ]
|
check [ __RET__ -eq 0 ]
|
||||||
|
|
||||||
|
host sysctl -w kernel.unprivileged_userns_clone=1
|
||||||
distro_quick_pasta_test
|
distro_quick_pasta_test
|
||||||
|
|
||||||
hint
|
hint
|
||||||
|
|
Loading…
Reference in a new issue