ztombol / bats-file

Common filesystem assertions for Bats
Creative Commons Zero v1.0 Universal
51 stars 50 forks source link

mktemp not working on BusyBox #12

Open CaptainQuirk opened 3 years ago

CaptainQuirk commented 3 years ago

Hi !

I'm using a custom docker image based on bats image on which I have installed bats-file. The version of mktemp included in the bats docker image is not the same as the one expected in bats-file.

In fact, the long options --directory and --tmp-dir, althoug more legible, are not available.

We should use the -d and -p short options respectively