remove slash test as may fail in chroot etc