payjoin / rust-payjoin

Supercharged payment batching to save you fees and preserve your privacy
https://payjoindevkit.org
85 stars 37 forks source link

Minor test script fixes #384

Closed nothingmuch closed 1 week ago

nothingmuch commented 1 week ago

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.