Commit 33c1dae 1 parent 1fb1a2d commit 33c1dae Copy full SHA for 33c1dae
File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ Run CMake and make all to build bplib and the bplib tests.
164
164
make all
165
165
```
166
166
167
+ #### Test bplib with bpcat
167
168
3 . Test bplib stand alone
168
169
169
170
The example program ` bpcat ` referenced below is available in the bplib stand alone build.
@@ -188,6 +189,19 @@ Example:
188
189
./bplib-build-matrix-Debug-POSIX/app/bpcat -l ipn://101.1 -r ipn://201.1
189
190
```
190
191
192
+ To test with bpcat:
193
+
194
+ 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.
195
+ 2 . In both terminals run: ` cd "${BPLIB_HOME}/bplib-build-matrix-Debug/POSIX/app" `
196
+ 3 . The files ` bpcat ` and ` Makefile ` should be in the current directory.
197
+ 4 . In one terminal, create the ` storage ` folder required for the test.
198
+ ` mkdir storage `
199
+ 5 . In the same terminal, run the receiver with:
200
+ ` ./bpcat -l ipn://101.1 -r ipn://201.1 |& tee recv.log `
201
+ 6 . In the other terminal, run the sender with: ` ./bpcat -l ipn://201.1 -r ipn://101.1 -i Makefile |& tee send.log `
202
+ 7 . For a successful test the contents of the Makefile appear in the receiver terminal.
203
+ 8 . Terminate ` bpcat ` in both terminal windows by pressing ` CTRL-C ` in each window.
204
+
191
205
----------------------------------------------------------------------
192
206
## 3. Application Design
193
207
----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments