[build] fix a test

This commit is contained in:
Timothy Stack 2020-06-28 22:55:22 -07:00
parent e0181a0adb
commit d040e75d42
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ int main(int argc, char *argv[])
struct exttm tm;
off_t off = 0;
memset(&tm, 0, sizeof(tm));
bool rc = ptime_fmt("ts %s ]", &tm, epoch_str, off, strlen(epoch_str));
assert(rc);
assert(tm2sec(&tm.et_tm) == 1428721664);