test-stkutil: Modify the check logic of time zone

This commit is contained in:
Yang Gu 2010-12-13 11:03:23 +08:00 committed by Denis Kenzior
parent c37f155478
commit 26575211eb
1 changed files with 5 additions and 1 deletions

View File

@ -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: