Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
pespin has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-msc/+/14362 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. db_sms_test: Remove libdbi expected driver load errors Newer versions of libdbi print to stderr unconditionally when trying to load drivers from /usr/lib/dbd. This makes test output to change depending on host/distro set up (installed modules). Let's get those messages out to make it easier for people having tests pass. We swap stderr/stdout instead of mixing to avoud future possible race conditions if both get content writen into them. Change-Id: Iec78826d28435f464be22e81b3776a6ae8326d59 --- M tests/db_sms/db_sms_test.err M tests/db_sms/db_sms_test.ok M tests/testsuite.at 3 files changed, 77 insertions(+), 76 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/tests/db_sms/db_sms_test.err b/tests/db_sms/db_sms_test.err index c61b1f4..e69de29 100644 --- a/tests/db_sms/db_sms_test.err +++ b/tests/db_sms/db_sms_test.err @@ -1,75 +0,0 @@ -DDB DEBUG Init a new database -DDB DEBUG Init complete -DDB INFO Testing db_sms_store()... -DDB NOTICE test_db_sms_store('Regular MO SMS'): success, as expected -DDB NOTICE test_db_sms_store('Regular MT SMS'): success, as expected -DDB NOTICE test_db_sms_store('Complete TP-UD (160 septets, 7-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Complete TP-UD (140 octets, 8-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('TP-UD buffer overflow (UDH-Length > UD-Length)'): success, as expected -DDB NOTICE test_db_sms_store('Truncated TP-UD (200 septets, 7-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Truncated TP-UD (255 octets, 8-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Same MSISDN #1'): success, as expected -DDB NOTICE test_db_sms_store('Same MSISDN #2'): success, as expected -DDB NOTICE test_db_sms_store('Expired SMS'): success, as expected -DDB NOTICE test_db_sms_store('Empty TP-UD'): success, as expected -DDB INFO Testing db_sms_get()... -DDB NOTICE test_db_sms_get('Regular MO SMS'): success, as expected -DDB NOTICE verify_sms('Regular MO SMS'): match -DDB NOTICE test_db_sms_get('Regular MT SMS'): success, as expected -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB NOTICE test_db_sms_get('Complete TP-UD (160 septets, 7-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Complete TP-UD (160 septets, 7-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('Complete TP-UD (140 octets, 8-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Complete TP-UD (140 octets, 8-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('TP-UD buffer overflow (UDH-Length > UD-Length)'): success, as expected -DDB NOTICE verify_sms('TP-UD buffer overflow (UDH-Length > UD-Length)'): match -DDB NOTICE test_db_sms_get('Truncated TP-UD (200 septets, 7-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Truncated TP-UD (200 septets, 7-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('Truncated TP-UD (255 octets, 8-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Truncated TP-UD (255 octets, 8-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('Same MSISDN #1'): success, as expected -DDB NOTICE verify_sms('Same MSISDN #1'): match -DDB NOTICE test_db_sms_get('Same MSISDN #2'): success, as expected -DDB NOTICE verify_sms('Same MSISDN #2'): match -DDB NOTICE test_db_sms_get('Expired SMS'): success, as expected -DDB NOTICE verify_sms('Expired SMS'): match -DDB NOTICE test_db_sms_get('Empty TP-UD'): success, as expected -DDB NOTICE verify_sms('Empty TP-UD'): match -DDB INFO Testing db_sms_get_next_unsent() and db_sms_mark_delivered()... -DDB NOTICE db_sms_get_next_unsent(#1): found -DDB NOTICE verify_sms('Regular MO SMS'): match -DDB NOTICE db_sms_get_next_unsent(#2): found -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB DEBUG Marking #1 as delivered: rc=0 -DDB DEBUG Marking #2 as delivered: rc=0 -DDB NOTICE db_sms_get_next_unsent(starting from #1): found -DDB NOTICE verify_sms('Complete TP-UD (160 septets, 7-bit encoding)'): TP-User-Data mismatch -DDB INFO Testing db_sms_delete_sent_message_by_id()... -DDB NOTICE db_sms_delete_sent_message_by_id(#1, sent): rc=0 -DDB NOTICE db_sms_delete_sent_message_by_id(#3, not sent): rc=0 -DDB INFO Testing db_sms_delete_by_msisdn()... -DDB NOTICE db_sms_delete_by_msisdn('72631'): rc=0 -DDB INFO Testing db_sms_delete_oldest_expired_message()... -DDB NOTICE db_sms_delete_oldest_expired_message() -DDB INFO Expectations updated, retrieving all messages again -DDB INFO Testing db_sms_get()... -DDB NOTICE test_db_sms_get('Regular MO SMS'): failure, as expected -DDB NOTICE test_db_sms_get('Regular MT SMS'): success, as expected -DDB NOTICE
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14362 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14362 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Iec78826d28435f464be22e81b3776a6ae8326d59 Gerrit-Change-Number: 14362 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Assignee: fixeria Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: pespin Gerrit-Comment-Date: Wed, 05 Jun 2019 16:25:48 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
pespin has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Abandoned Abandoned in favour of https://gerrit.osmocom.org/c/osmo-msc/+/14362 -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 Gerrit-Change-Number: 14356 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-CC: fixeria Gerrit-MessageType: abandon
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/14362 Change subject: db_sms_test: Remove libdbi expected driver load errors .. db_sms_test: Remove libdbi expected driver load errors Newer versions of libdbi print to stderr unconditionally when trying to load drivers from /usr/lib/dbd. This makes test output to change depending on host/distro set up (installed modules). Let's get those messages out to make it easier for people having tests pass. We swap stderr/stdout instead of mixing to avoud future possible race conditions if both get content writen into them. Change-Id: Iec78826d28435f464be22e81b3776a6ae8326d59 --- M tests/db_sms/db_sms_test.err M tests/db_sms/db_sms_test.ok M tests/testsuite.at 3 files changed, 77 insertions(+), 76 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/62/14362/1 diff --git a/tests/db_sms/db_sms_test.err b/tests/db_sms/db_sms_test.err index c61b1f4..e69de29 100644 --- a/tests/db_sms/db_sms_test.err +++ b/tests/db_sms/db_sms_test.err @@ -1,75 +0,0 @@ -DDB DEBUG Init a new database -DDB DEBUG Init complete -DDB INFO Testing db_sms_store()... -DDB NOTICE test_db_sms_store('Regular MO SMS'): success, as expected -DDB NOTICE test_db_sms_store('Regular MT SMS'): success, as expected -DDB NOTICE test_db_sms_store('Complete TP-UD (160 septets, 7-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Complete TP-UD (140 octets, 8-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('TP-UD buffer overflow (UDH-Length > UD-Length)'): success, as expected -DDB NOTICE test_db_sms_store('Truncated TP-UD (200 septets, 7-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Truncated TP-UD (255 octets, 8-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Same MSISDN #1'): success, as expected -DDB NOTICE test_db_sms_store('Same MSISDN #2'): success, as expected -DDB NOTICE test_db_sms_store('Expired SMS'): success, as expected -DDB NOTICE test_db_sms_store('Empty TP-UD'): success, as expected -DDB INFO Testing db_sms_get()... -DDB NOTICE test_db_sms_get('Regular MO SMS'): success, as expected -DDB NOTICE verify_sms('Regular MO SMS'): match -DDB NOTICE test_db_sms_get('Regular MT SMS'): success, as expected -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB NOTICE test_db_sms_get('Complete TP-UD (160 septets, 7-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Complete TP-UD (160 septets, 7-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('Complete TP-UD (140 octets, 8-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Complete TP-UD (140 octets, 8-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('TP-UD buffer overflow (UDH-Length > UD-Length)'): success, as expected -DDB NOTICE verify_sms('TP-UD buffer overflow (UDH-Length > UD-Length)'): match -DDB NOTICE test_db_sms_get('Truncated TP-UD (200 septets, 7-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Truncated TP-UD (200 septets, 7-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('Truncated TP-UD (255 octets, 8-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Truncated TP-UD (255 octets, 8-bit encoding)'): TP-User-Data mismatch -DDB NOTICE test_db_sms_get('Same MSISDN #1'): success, as expected -DDB NOTICE verify_sms('Same MSISDN #1'): match -DDB NOTICE test_db_sms_get('Same MSISDN #2'): success, as expected -DDB NOTICE verify_sms('Same MSISDN #2'): match -DDB NOTICE test_db_sms_get('Expired SMS'): success, as expected -DDB NOTICE verify_sms('Expired SMS'): match -DDB NOTICE test_db_sms_get('Empty TP-UD'): success, as expected -DDB NOTICE verify_sms('Empty TP-UD'): match -DDB INFO Testing db_sms_get_next_unsent() and db_sms_mark_delivered()... -DDB NOTICE db_sms_get_next_unsent(#1): found -DDB NOTICE verify_sms('Regular MO SMS'): match -DDB NOTICE db_sms_get_next_unsent(#2): found -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB DEBUG Marking #1 as delivered: rc=0 -DDB DEBUG Marking #2 as delivered: rc=0 -DDB NOTICE db_sms_get_next_unsent(starting from #1): found -DDB NOTICE verify_sms('Complete TP-UD (160 septets, 7-bit encoding)'): TP-User-Data mismatch -DDB INFO Testing db_sms_delete_sent_message_by_id()... -DDB NOTICE db_sms_delete_sent_message_by_id(#1, sent): rc=0 -DDB NOTICE db_sms_delete_sent_message_by_id(#3, not sent): rc=0 -DDB INFO Testing db_sms_delete_by_msisdn()... -DDB NOTICE db_sms_delete_by_msisdn('72631'): rc=0 -DDB INFO Testing db_sms_delete_oldest_expired_message()... -DDB NOTICE db_sms_delete_oldest_expired_message() -DDB INFO Expectations updated, retrieving all messages again -DDB INFO Testing db_sms_get()... -DDB NOTICE test_db_sms_get('Regular MO SMS'): failure, as expected -DDB NOTICE test_db_sms_get('Regular MT SMS'): success, as expected -DDB NOTICE verify_sms('Regular MT SMS'):
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Patch Set 1: the problem with mixing stderr and stdout is that it's race-condition prone. So if for some reason on some system under some circumstances two lines get swapped, the test output wouldn't match again either :/ -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 Gerrit-Change-Number: 14356 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-CC: fixeria Gerrit-Comment-Date: Tue, 04 Jun 2019 09:11:24 + Gerrit-HasComments: No Gerrit-Has-Labels: No Gerrit-MessageType: comment
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 Gerrit-Change-Number: 14356 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-CC: fixeria Gerrit-Comment-Date: Tue, 04 Jun 2019 09:10:35 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Patch Set 1: (1 comment) https://gerrit.osmocom.org/#/c/14356/1/tests/testsuite.at File tests/testsuite.at: https://gerrit.osmocom.org/#/c/14356/1/tests/testsuite.at@23 PS1, Line 23: 2>&1 > nice find! autotest doesn't seem to like it. I changed the line to: AT_CHECK([$abs_top_builddir/tests/db_sms/db_sms_test 2> >(grep -v "Failed to load driver")], [], [expout], [experr]) (I know it's not exactly the same I had before, just a simplified form) But then running tests fail: """ 3: db_sms_test osmo-msc/tests/testsuite.dir/at-groups/3/test-source: line 14: syntax error near unexpected token `>' osmo-msc/tests/testsuite.dir/at-groups/3/test-source: line 14: `( $at_check_trace; $abs_top_builddir/tests/db_sms/db_sms_test 2> >(grep -v "Failed to load driver")' testsuite: WARNING: unable to parse test group: 3 testsuite: WARNING: A failure happened in a test group before any test could be testsuite: WARNING: run. This means that test suite is improperly designed. Please testsuite: WARNING: report this failure to . FAILED (testsuite.at:19) """ It looks like it doesn't like having parentheses in there. I tried scaping them wiht "\(", but didn't work. -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 Gerrit-Change-Number: 14356 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-CC: Harald Welte Gerrit-CC: fixeria Gerrit-Comment-Date: Tue, 04 Jun 2019 09:08:35 + Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: fixeria Comment-In-Reply-To: Harald Welte Gerrit-MessageType: comment
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Patch Set 1: (1 comment) https://gerrit.osmocom.org/#/c/14356/1/tests/testsuite.at File tests/testsuite.at: https://gerrit.osmocom.org/#/c/14356/1/tests/testsuite.at@23 PS1, Line 23: 2>&1 > I found this solution: https://stackoverflow. […] nice find! -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 Gerrit-Change-Number: 14356 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-CC: Harald Welte Gerrit-CC: fixeria Gerrit-Comment-Date: Tue, 04 Jun 2019 08:35:04 + Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: fixeria Gerrit-MessageType: comment
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 ) Change subject: db_sms_test: Remove libdbi expected driver load errors .. Patch Set 1: (1 comment) https://gerrit.osmocom.org/#/c/14356/1/tests/testsuite.at File tests/testsuite.at: https://gerrit.osmocom.org/#/c/14356/1/tests/testsuite.at@23 PS1, Line 23: 2>&1 I found this solution: https://stackoverflow.com/a/15936384/10668583, that would allow us to avoid swapping / mixing both stdin and stderr. -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 Gerrit-Change-Number: 14356 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria Gerrit-Comment-Date: Mon, 03 Jun 2019 19:39:10 + Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
Change in ...osmo-msc[master]: db_sms_test: Remove libdbi expected driver load errors
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/14356 Change subject: db_sms_test: Remove libdbi expected driver load errors .. db_sms_test: Remove libdbi expected driver load errors Newer versions of libdbi print to stderr unconditionally when trying to load drivers from /usr/lib/dbd. This makes test output to change depending on host/distro set up (installed modules). Let's get those messages out to make it easier for people having tests pass. Change-Id: I06dfdc5a7415a4d3b34a3b25f11c8abda1a63f92 --- M tests/db_sms/db_sms_test.err M tests/db_sms/db_sms_test.ok M tests/testsuite.at 3 files changed, 76 insertions(+), 76 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/56/14356/1 diff --git a/tests/db_sms/db_sms_test.err b/tests/db_sms/db_sms_test.err index e0a329d..e69de29 100644 --- a/tests/db_sms/db_sms_test.err +++ b/tests/db_sms/db_sms_test.err @@ -1,75 +0,0 @@ -DDB DEBUG Init a new database -DDB DEBUG Init complete -DDB INFO Testing db_sms_store()... -DDB NOTICE test_db_sms_store('Regular MO SMS'): success, as expected -DDB NOTICE test_db_sms_store('Regular MT SMS'): success, as expected -DDB NOTICE test_db_sms_store('Complete TP-UD (160 septets, 7-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Complete TP-UD (140 octets, 8-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('TP-UD buffer overflow (UDH-Length > UD-Length)'): success, as expected -DDB NOTICE test_db_sms_store('Truncated TP-UD (200 septets, 7-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Truncated TP-UD (255 octets, 8-bit encoding)'): success, as expected -DDB NOTICE test_db_sms_store('Same MSISDN #1'): success, as expected -DDB NOTICE test_db_sms_store('Same MSISDN #2'): success, as expected -DDB NOTICE test_db_sms_store('Expired SMS'): success, as expected -DDB NOTICE test_db_sms_store('Empty TP-UD'): success, as expected -DDB INFO Testing db_sms_get()... -DDB NOTICE test_db_sms_get('Regular MO SMS'): success, as expected -DDB NOTICE verify_sms('Regular MO SMS'): match -DDB NOTICE test_db_sms_get('Regular MT SMS'): success, as expected -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB NOTICE test_db_sms_get('Complete TP-UD (160 septets, 7-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Complete TP-UD (160 septets, 7-bit encoding)'): TP-User-Data mismatch (diff=-65/256) -DDB NOTICE test_db_sms_get('Complete TP-UD (140 octets, 8-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Complete TP-UD (140 octets, 8-bit encoding)'): TP-User-Data mismatch (diff=-66/256) -DDB NOTICE test_db_sms_get('TP-UD buffer overflow (UDH-Length > UD-Length)'): success, as expected -DDB NOTICE verify_sms('TP-UD buffer overflow (UDH-Length > UD-Length)'): match -DDB NOTICE test_db_sms_get('Truncated TP-UD (200 septets, 7-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Truncated TP-UD (200 septets, 7-bit encoding)'): TP-User-Data mismatch (diff=-65/256) -DDB NOTICE test_db_sms_get('Truncated TP-UD (255 octets, 8-bit encoding)'): success, as expected -DDB NOTICE verify_sms('Truncated TP-UD (255 octets, 8-bit encoding)'): TP-User-Data mismatch (diff=-16896/256) -DDB NOTICE test_db_sms_get('Same MSISDN #1'): success, as expected -DDB NOTICE verify_sms('Same MSISDN #1'): match -DDB NOTICE test_db_sms_get('Same MSISDN #2'): success, as expected -DDB NOTICE verify_sms('Same MSISDN #2'): match -DDB NOTICE test_db_sms_get('Expired SMS'): success, as expected -DDB NOTICE verify_sms('Expired SMS'): match -DDB NOTICE test_db_sms_get('Empty TP-UD'): success, as expected -DDB NOTICE verify_sms('Empty TP-UD'): match -DDB INFO Testing db_sms_get_next_unsent() and db_sms_mark_delivered()... -DDB NOTICE db_sms_get_next_unsent(#1): found -DDB NOTICE verify_sms('Regular MO SMS'): match -DDB NOTICE db_sms_get_next_unsent(#2): found -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB DEBUG Marking #1 as delivered: rc=0 -DDB DEBUG Marking #2 as delivered: rc=0 -DDB NOTICE db_sms_get_next_unsent(starting from #1): found -DDB NOTICE verify_sms('Complete TP-UD (160 septets, 7-bit encoding)'): TP-User-Data mismatch (diff=-65/256) -DDB INFO Testing db_sms_delete_sent_message_by_id()... -DDB NOTICE db_sms_delete_sent_message_by_id(#1, sent): rc=0 -DDB NOTICE db_sms_delete_sent_message_by_id(#3, not sent): rc=0 -DDB INFO Testing db_sms_delete_by_msisdn()... -DDB NOTICE db_sms_delete_by_msisdn('72631'): rc=0 -DDB INFO Testing db_sms_delete_oldest_expired_message()... -DDB NOTICE db_sms_delete_oldest_expired_message() -DDB INFO Expectations updated, retrieving all messages again -DDB INFO Testing db_sms_get()... -DDB NOTICE test_db_sms_get('Regular MO SMS'): failure, as expected -DDB NOTICE test_db_sms_get('Regular MT SMS'): success, as expected -DDB NOTICE verify_sms('Regular MT SMS'): match -DDB NOTICE test_db_sms_get('Complete