Temporarily remove invalid value test in string_to_time

As mentioned in #368 testing for invalid values with the current
implementation would result in misleading error messages being printed
to stdout. These tests should be disabled until a solution is found.
This commit is contained in:
Nikos Tsipinakis 2017-10-07 19:05:49 +03:00
parent fe2a3b5049
commit e8e4af9ea3

View File

@ -160,8 +160,8 @@ TEST test_string_to_path(void)
TEST test_string_to_time(void) TEST test_string_to_time(void)
{ {
char *input[] = { "5000 ms", "5000ms", "100", "10s", "2m", "11h", "9d", "d9", " 5 ms ", NULL }; char *input[] = { "5000 ms", "5000ms", "100", "10s", "2m", "11h", "9d", " 5 ms ", NULL };
gint64 exp[] = { 5000, 5000, 100000, 10000, 120000, 39600000, 777600000, 0, 5, }; gint64 exp[] = { 5000, 5000, 100000, 10000, 120000, 39600000, 777600000, 5, 0};
int i = 0; int i = 0;
while (input[i]){ while (input[i]){