[PATCH 3/3] tests: Add test for virDomainGetSecurityLabelList

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Luke Yue <lukedyue@xxxxxxxxx>
---
 tests/virshtest.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/virshtest.c b/tests/virshtest.c
index 0d703f3765..4fb4799456 100644
--- a/tests/virshtest.c
+++ b/tests/virshtest.c
@@ -69,6 +69,7 @@ Managed save:    no\n\
 Security model:  testSecurity\n\
 Security DOI:    \n\
 Security labels: " SECURITY_LABEL "\n\
+                 " SECURITY_LABEL "\n\
 Messages:        " FC5_MESSAGES "\n\
 \n";
 
@@ -237,7 +238,8 @@ static int testCompareDominfoByName(const void *data G_GNUC_UNUSED)
 
 static int testCompareTaintedDominfoByName(const void *data G_GNUC_UNUSED)
 {
-    const char *const argv[] = { VIRSH_CUSTOM, "dominfo", "fc5", NULL };
+    const char *const argv[] = { VIRSH_CUSTOM, "dominfo", "fc5",
+                                 "--full-seclabels", NULL };
     const char *exp = dominfo_fc5;
     return testCompareOutputLit(exp, "\nCPU time:", argv);
 }
-- 
2.33.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux