Skip to content

Commit

Permalink
DTNN-132 Update bpcat test from meeting with Charles
Browse files Browse the repository at this point in the history
  • Loading branch information
gskenned committed Jul 30, 2024
1 parent 33c1dae commit dc43dff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,15 @@ Example:
To test with bpcat:

1. Open two terminal windows and have them both visible. The test runs `bpcat` as a receiver in one window and a sender in the other.
2. In both terminals run: `cd "${BPLIB_HOME}/bplib-build-matrix-Debug/POSIX/app"`
2. In both terminals run:
`cd <same chosen working directory>/bplib-build-matrix-<Debug or Release>-POSIX/app`
3. The files `bpcat` and `Makefile` should be in the current directory.
4. In one terminal, create the `storage` folder required for the test.
`mkdir storage`
5. In the same terminal, run the receiver with:
`./bpcat -l ipn://101.1 -r ipn://201.1 |& tee recv.log`
6. In the other terminal, run the sender with: `./bpcat -l ipn://201.1 -r ipn://101.1 -i Makefile |& tee send.log`
6. In the other terminal, run the sender with:
`./bpcat -l ipn://201.1 -r ipn://101.1 -i Makefile |& tee send.log`
7. For a successful test the contents of the Makefile appear in the receiver terminal.
8. Terminate `bpcat` in both terminal windows by pressing `CTRL-C` in each window.

Expand Down

0 comments on commit dc43dff

Please sign in to comment.