Use /tmp/ as location for smack test files 68/22568/3
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Fri, 6 Jun 2014 13:09:53 +0000 (15:09 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 9 Jun 2014 13:35:46 +0000 (06:35 -0700)
Smack laccess tests used /opt/home/app previously, but it does not
necessarily exist so replace it with /tmp/.

Change-Id: Id711c60ef49e0078519f8acc77d5b034a23c1596

tests/libsmack-tests/test_cases.cpp

index 503cb7e..3fbfc01 100644 (file)
@@ -47,7 +47,7 @@ const char* const TEST_SUBJECT = "test_subject";
 const char* const TEST_OBJECT = "test_object";
 const char* const TEST_OBJECT_2 = "test_object_2";
 
-const std::string testDir = "/opt/home/app/";
+const std::string testDir = "/tmp/";
 const std::vector<std::string> accessesBasic = { "r", "w", "x", "wx", "rx", "rw", "rwx", "rwxat" };
 
 //This one define is required for sockaddr_un initialization