time api in linux test case