From 42dbd061196f8cbb7393b0e6d0c1c101abde71ab Mon Sep 17 00:00:00 2001
From: Denis Pynkin <denis.pynkin@collabora.com>
Date: Thu, 2 May 2019 20:34:53 +0300
Subject: [PATCH] Fix namespace name for Tiny container seccomp test

Incorrect name has been used leading to failure of the container startup.

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
---
 test-cases/tiny-container-system-seccomp.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-cases/tiny-container-system-seccomp.yaml b/test-cases/tiny-container-system-seccomp.yaml
index 120bc83..57d834e 100644
--- a/test-cases/tiny-container-system-seccomp.yaml
+++ b/test-cases/tiny-container-system-seccomp.yaml
@@ -27,7 +27,7 @@ run:
     - "# Setup the AppArmor profile for container:"
     - sed s/__NAMESPACE_PLACEHOLDER__/lxc-apertis-tiny-system/g lxc/lxc-tiny-connectivity-profile-template | apparmor_parser -qr
     - "# Check that the simple seccomp profile for the container is loaded and works"
-    - lavatests/test-seccomp-policy -a "$ARCH" -r "$RELEASE" -d "$IMAGE_DATE" -t lxc/lxc-tiny-connectivity --aa-namespace "lxc-apertis-tiny-userns" -p "--seccomp $PWD/lavatests/test-minimal-policy.seccomp"
+    - lavatests/test-seccomp-policy -a "$ARCH" -r "$RELEASE" -d "$IMAGE_DATE" -t lxc/lxc-tiny-connectivity --aa-namespace "lxc-apertis-tiny-system" -p "--seccomp $PWD/lavatests/test-minimal-policy.seccomp"
 
 parse:
   pattern: "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
-- 
GitLab