summaryrefslogtreecommitdiff
path: root/src/tests/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-15 15:18:54 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-15 15:18:54 -0800
commit3b354d6757437e27957d49381e125fb1f12ac2b8 (patch)
tree5970eb1b0940432db1b6fd0d8d0f39615205506d /src/tests/eet
parent20d77fda989b360e25e1ad3b5a5bdb78fd3ab67d (diff)
eet: add test for eet_alias_get.
Diffstat (limited to 'src/tests/eet')
-rw-r--r--src/tests/eet/eet_test_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/eet/eet_test_file.c b/src/tests/eet/eet_test_file.c
index f7926f7e61..fbf902b5df 100644
--- a/src/tests/eet/eet_test_file.c
+++ b/src/tests/eet/eet_test_file.c
@@ -94,6 +94,7 @@ START_TEST(eet_test_file_simple_write)
94 94
95 fail_if(memcmp(test, buffer, strlen(buffer) + 1) != 0); 95 fail_if(memcmp(test, buffer, strlen(buffer) + 1) != 0);
96 96
97 fail_if(strcmp(eet_alias_get(ef, "keys/alias"), "keys/tests"));
97 test = eet_read(ef, "keys/alias2", &size); 98 test = eet_read(ef, "keys/alias2", &size);
98 fail_if(!test); 99 fail_if(!test);
99 fail_if(size != (int)strlen(buffer) + 1); 100 fail_if(size != (int)strlen(buffer) + 1);