Skip to content

Minor test script fixes#384

Merged
DanGould merged 3 commits intopayjoin:masterfrom
nothingmuch:test-script-fixes
Nov 11, 2024
Merged

Minor test script fixes#384
DanGould merged 3 commits intopayjoin:masterfrom
nothingmuch:test-script-fixes

Conversation

@nothingmuch
Copy link
Collaborator

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
DanGould added a commit that referenced this pull request Jan 4, 2025
seems that i missed this one in #384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants