Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Can't run tests anymore #221

Open
benmarten opened this issue Jun 7, 2017 · 2 comments
Open

Can't run tests anymore #221

benmarten opened this issue Jun 7, 2017 · 2 comments

Comments

@benmarten
Copy link

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?

@dimo414
Copy link

dimo414 commented Aug 19, 2017

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

@lucasvc
Copy link

lucasvc commented Nov 10, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants