From: Yang Gu <yang.gu@intel.com>
To: ofono@ofono.org
Subject: [PATCH] test-stkutil: Modify the check logic of time zone
Date: Mon, 13 Dec 2010 11:03:23 +0800 [thread overview]
Message-ID: <1292209403-31387-1-git-send-email-yang.gu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 689 bytes --]
---
unit/test-stkutil.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 868d54b..666f4eb 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -245,7 +245,11 @@ static void check_gsm_sms(const struct sms *command,
g_assert(ca->hour == ta->hour);
g_assert(ca->minute == ta->minute);
g_assert(ca->second == ta->second);
- g_assert(ca->timezone == ta->timezone);
+ g_assert(ca->has_timezone == ta->has_timezone);
+
+ if (ta->has_timezone)
+ g_assert(ca->timezone == ta->timezone);
+
break;
}
case SMS_VALIDITY_PERIOD_FORMAT_ENHANCED:
--
1.7.2.3
next reply other threads:[~2010-12-13 3:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-13 3:03 Yang Gu [this message]
2010-12-15 18:58 ` [PATCH] test-stkutil: Modify the check logic of time zone Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1292209403-31387-1-git-send-email-yang.gu@intel.com \
--to=yang.gu@intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.