summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2024-01-05 14:54:21 +0900
committerJinWang An <jinwang.an@samsung.com>2024-01-05 14:56:21 +0900
commit2442c6e057b8bd268d7d4ac5c5c1cda4dfc5471d (patch)
tree20437853101570df54ec3a92b130a07bbcec9bfe
parent3a05784b7e8d34555b631ec3ca2fc9d67d609fd2 (diff)
downloadlibslp-db-util-2442c6e057b8bd268d7d4ac5c5c1cda4dfc5471d.tar.gz
libslp-db-util-2442c6e057b8bd268d7d4ac5c5c1cda4dfc5471d.tar.bz2
libslp-db-util-2442c6e057b8bd268d7d4ac5c5c1cda4dfc5471d.zip
Change-Id: I1e401a4d41aebed98724f1c5f72f7aa1b3fd020a Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rw-r--r--packaging/libslp-db-util.spec2
-rwxr-xr-xtests/test-collation-db.sh18
2 files changed, 10 insertions, 10 deletions
diff --git a/packaging/libslp-db-util.spec b/packaging/libslp-db-util.spec
index 8953422..951eb33 100644
--- a/packaging/libslp-db-util.spec
+++ b/packaging/libslp-db-util.spec
@@ -101,7 +101,7 @@ pushd tests
./test-collation-db.sh
LD_PRELOAD=./libvconf-mock.so LD_LIBRARY_PATH=.. ./db-util-gtest
popd
-lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info
+lcov -c --ignore-errors mismatch --ignore-errors graph --no-external -b . -d . -o %{name}.info
genhtml %{name}.info -o out --legend --show-details
%endif
diff --git a/tests/test-collation-db.sh b/tests/test-collation-db.sh
index 53090de..57049d9 100755
--- a/tests/test-collation-db.sh
+++ b/tests/test-collation-db.sh
@@ -16,14 +16,14 @@ PRAGMA journal_mode=MEMORY;
PRAGMA temp_store=MEMORY;
BEGIN TRANSACTION;
-INSERT INTO ${tableName} ( key, value) values ( "test_01", "테스트 1");
-INSERT INTO ${tableName} ( key, value) values ( "test_04", "테스트 01");
-INSERT INTO ${tableName} ( key, value) values ( "test_07", "테스트 001");
-INSERT INTO ${tableName} ( key, value) values ( "test_02", "테스트 2");
-INSERT INTO ${tableName} ( key, value) values ( "test_08", "테스트 002");
-INSERT INTO ${tableName} ( key, value) values ( "test_05", "테스트 02");
-INSERT INTO ${tableName} ( key, value) values ( "test_09", "테스트 003");
-INSERT INTO ${tableName} ( key, value) values ( "test_03", "테스트 3");
-INSERT INTO ${tableName} ( key, value) values ( "test_06", "테스트 03");
+INSERT INTO ${tableName} ( key, value) values ( 'test_01', '테스트 1');
+INSERT INTO ${tableName} ( key, value) values ( 'test_04', '테스트 01');
+INSERT INTO ${tableName} ( key, value) values ( 'test_07', '테스트 001');
+INSERT INTO ${tableName} ( key, value) values ( 'test_02', '테스트 2');
+INSERT INTO ${tableName} ( key, value) values ( 'test_08', '테스트 002');
+INSERT INTO ${tableName} ( key, value) values ( 'test_05', '테스트 02');
+INSERT INTO ${tableName} ( key, value) values ( 'test_09', '테스트 003');
+INSERT INTO ${tableName} ( key, value) values ( 'test_03', '테스트 3');
+INSERT INTO ${tableName} ( key, value) values ( 'test_06', '테스트 03');
COMMIT TRANSACTION;
EOF