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

Minor test script fixes #384

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Conversation

nothingmuch
Copy link
Contributor

The first commit makes it possible to run the test scripts on a NixOS host assuming cargo etc are in the current environment. In order for bitcoind to to be usable on NixOS (e2e and integration tests), the machine configuration needs programs.nix-ld.enable = true set as well.

The second commit consistently uses set -e to exit on failure in all scripts.

The third commit appeases unix editors and git by terminating the last line with a \n.

This uses the path supplied `bash`, and will also allow the scripts to
run on NixOS where `/usr/bin/env` is shimmed for compatibility but
`/bin/bash` can't be relied on.
Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@DanGould DanGould merged commit e821a41 into payjoin:master Nov 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants