test a file can lseek or not