Based on #198040. Prioritizes backwards compatibility, including
database and plugin compatibility, while adding more sensible
defaults like database peer authentication.
Expand the scope of tests to include plugins (including building
from source) and testing that a piece of media uploads and downloads
to make sure the storage directory doesn't vanish.
Test build and services start, but libeufin-bank fails when trying to
access the database to change the admin's password.
We need to execute the command as the libeufin-bank user.
tests/taler: add master private key
tests/taler: rewrite `register_bank_account` to Nix
tests/taler: rename libeufin node to bank
tests/taler: use xtaler wire_type instead of iban
tests/taler: remove redundant data from conf files
tests/taler: enable exchange account
tests/taler: remove unused talerConfig
tests/taler: add client node and attempt a withdrawal
tests/taler: systemd_run optional user and group args
tests/taler: refactor and make a withdrawal
tests/taler: refactor tasks into subtests
tests/taler: properly read and test balance
tests/taler: refactor commands and add comments
nixos/taler: rename private key
tests/taler: enable nexus service in bank node
tests/taler: nexus fake incoming payment test
tests/taler: use correct path for nexus client keys
tests/taler: add merchant node
tests/taler: merchant register instance
tests/taler: init pay for order merchant
tests/taler: fix payto uri
tests/taler: withdraw smaller amount
This makes the test faster
tests/taler: verify balance
tests/nixos: debugging merchant payment, cleanup
tests/taler: fix libeufin command, use curl to register accounts
tests/taler: add basic online test
tests/taler: move nodes into separate directory
tests/taler: fix insufficient balance error
Turns out that the exchange wire fees need to be set up (even if they're
0) in order for the CLI wallet to deposit coins into the merchant's bank
account.
tests/taler: improve node importing, port forwarding
tests/taler: import scripts from a separate file
tests/taler: move tests into a sub-directory
tests/taler: manually start services, cleanup
This results in less overhead and conflict since components will not try
to prematurely connect to the ones that haven't finished their set up.
tests/taler: remove online test
This was used to debug the insufficient balance problem, but it's not
really that useful by itself.
tests/taler: add nexus keys
tests/taler: use bank initalAccounts option
taler/tests: use initialAccount
tests/taler: make nexus work
tests/taler: don't run nexus test if there is no internet
tests/taler: use openFirewall, remove manual package install
fix(test): evaluation errors
fix(test): create nexus role by enabling createLocalDatabase
- nixfmt on apparmor test
- move apparmor test to nixos/tests/apparmor directory
- expected profile contents are now generated in its own file to make the test file less confusing and hard to maintain
- enforce/complain is now being tested via diff of expected against aa-status
- path is now tested against diff+file checking symlink target of /etc/static/apparmor.d/<name>
- profile is now checked by diff of /etc/static/apparmor.d/<name> against original string added in nix config
- test still successfully passes
- added test for confined hello to succeed
- added test for confined hexdump on denied path to fail
This commit adds two new tests to show that the ordering of password
overrides documentation in nixos/modules/config/user-groups.nix is
correct. The override behavior differs depending on whether a system
has systemd-sysusers enabled, so there are two tests.