projects
/
platform
/
core
/
test
/
security-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging tizen into ckm. Stage 1.
[platform/core/test/security-tests.git]
/
tests
/
common
/
tests_common.h
diff --git
a/tests/common/tests_common.h
b/tests/common/tests_common.h
index
47dac47
..
dab6d75
100644
(file)
--- a/
tests/common/tests_common.h
+++ b/
tests/common/tests_common.h
@@
-34,10
+34,14
@@
#include <errno.h>
#include <string.h>
#include <errno.h>
#include <string.h>
-const uid_t APP_UID = 5000;
-const gid_t APP_GID = 5000;
+// separate DB-space for async tests
+// gives independence: other test sets can modify the password per will
+// without risk of making async tests fail
+const uid_t APP_UID = 5003;
+const gid_t APP_GID = 5003;
const uid_t DB_ALARM_UID = 6001;
const gid_t DB_ALARM_GID = 6001;
const uid_t DB_ALARM_UID = 6001;
const gid_t DB_ALARM_GID = 6001;
+const std::string TMP_DIR("/tmp");
int smack_runtime_check(void);
int smack_check(void);
int smack_runtime_check(void);
int smack_check(void);
@@
-46,6
+50,7
@@
void setLabelForSelf(const int line, const char *label);
void add_process_group(const char* group_name);
void remove_process_group(const char* group_name);
std::string formatCstr(const char *cstr);
void add_process_group(const char* group_name);
void remove_process_group(const char* group_name);
std::string formatCstr(const char *cstr);
+int files_compare(int fd1, int fd2);
#define RUNNER_TEST_SMACK(Proc) \
void Proc(); \
#define RUNNER_TEST_SMACK(Proc) \
void Proc(); \