79097484de
This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin |
||
---|---|---|
.. | ||
conf | ||
shadow.data.template/hosts | ||
README.md | ||
run.sh | ||
shadow.yaml |
README.md
Shadow-based integration test
This is an integration test for arti that uses the
shadow simulator. It creates a simulation of a
small Tor network, uses the arti
client to perform some transfers across this
simulated network, and validates that the transfers succeeded.
Running locally
To run locally, you'll need to install shadow itself somewhere on our PATH
,
following shadow's installation
instructions.
Next you'll need to install executables that will run inside the simulation, in the
locations where shadow.yaml
expects to find them.
-
Ensure
tgen
is on your PATH. -
Ensure
tor
is on your PATH. Typically you can install it using your host system's package manager. -
Build the
arti
client for targetx86_64-unknown-linux-gnu
, so that the binary is at:../../target/x86_64-unknown-linux-gnu/debug/arti
.
Once those are installed, you can invoke the run.sh
script from
this directory.