Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If they standardize mktemp ( https://www.austingroupbugs.net/view.php?id=1616 ) then I think you could just

  TESTDIR=$(mktemp -d -p ${WHEREVER})
  touch ${TESTDIR}/FOO
  ls ${TESTDIR}/foo && fail


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: