zdtm/apparmor_stacking: don't include optional AppArmor namespace separator

AppArmor namespaces are officially colon-separated. The double-slash
syntax is just convenience:

"The trailing : separates the namespace name from the profile name and
the optional / and // separators are provided as a convenience for those
familiar with ssh and protocol urls." (see [1])

[1]: https://gitlab.com/apparmor/apparmor/-/wikis/AppArmorNamespaces
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-06-16 15:04:53 +02:00 committed by Andrei Vagin
parent dc4c3cd48b
commit 9422383b6b

View file

@ -135,7 +135,7 @@ int main(int argc, char **argv)
test_daemon();
test_waitsig();
if (checkprofile(pid, ":criu_stacking_test://criu/stacking/test") < 0)
if (checkprofile(pid, ":criu_stacking_test:criu/stacking/test") < 0)
goto out;
ret = 0;