Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btest dislikes Emacs temporary files #106

Open
timwoj opened this issue Nov 13, 2024 · 0 comments
Open

btest dislikes Emacs temporary files #106

timwoj opened this issue Nov 13, 2024 · 0 comments

Comments

@timwoj
Copy link
Member

timwoj commented Nov 13, 2024

btest has problems with some of the temporary files that Emacs creates. These are both with the default configuration for how emacs stores temporary files (meaning they're stored in the same directory as the original file).

  • When creating a new file but before you've committed it to git, a filename.zeek~ file gets created by Emacs. If you try to run btest on the filename.zeek file, btest picks up the tilde-file instead.
  • When editing an existing file but before you've saved it, a .#filename.zeek file gets created. If you try to run btest on the filename.zeek file, btest picks up the dothash-file instead.

I've run into both of these enough times that you'd think I'd notice when it happens, but this ticket is evidence that I don't pay enough attention.

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

No branches or pull requests

1 participant