Remove unnecessary chsmack command 47/317847/1
authorYonggoo Kang <ygace.kang@samsung.com>
Thu, 19 Sep 2024 09:24:12 +0000 (18:24 +0900)
committerYonggoo Kang <ygace.kang@samsung.com>
Thu, 19 Sep 2024 09:24:12 +0000 (18:24 +0900)
Change-Id: Ie511984edf6ffa383507c74a0eb010a0061d6514

tests/manual/man_tests.cpp

index ab155a003bc38d43a02e1382e0ca74d527eeb3d5..4fb79a909d0cda0be1e1213c3f5987fa75a402a8 100644 (file)
@@ -111,17 +111,7 @@ struct TestContents {
 void DisplayQR(struct TestContents &contents)
 {
     int ret;
-    std::string command = "/usr/bin/chsmack -a '_' ";
-    command += contents.path.c_str();
-
-    ret = system(command.c_str());
-    if (ret) {
-        std::cout << "chsmack command failed\n"
-                  << "System() returned: " << ret << std::endl;
-        return;
-    }
-
-    command = "/usr/bin/webauthn-image-viewer ";
+    std::string command = "/usr/bin/webauthn-image-viewer ";
     command += contents.path.c_str();
     command += " &"; // run background