sstephenson/bats

Can't run tests anymore

Opened this issue · 2 comments

Something broke on my machine, so running my tests leads to:

/usr/local/Cellar/bats/0.4.0/libexec/bats-exec-test: line 327: /var/folders/rs/s_q1py2d54q4g9bk1h7vg95r0000gn/T/bats.30926.src: No such file or directory

Any idea whats wrong?

Are you still encountering this issue? What makes you think it's an issue with Bats? Seems like something else changed on your system.

I've found this too. On a helper script sourced from tests files I had:

export FALSE=1

After changing it to a more elegant way:

export FALSE=$(false;echo $?)

All my tests fails with a similar line as the author.
FTR, using a similar expression for true:

export TRUE=$(true;echo $?)

Does not break tests.