add dup dup2 and realpath test c files