Stefan Schuermans commited on 2020-05-17 17:42:54
Showing 1 changed files, with 5 additions and 2 deletions.
... | ... |
@@ -5,9 +5,12 @@ add_test( |
5 | 5 |
bash -c |
6 | 6 |
" |
7 | 7 |
> out.proto |
8 |
- LWPTPL_OUTPUT=out.proto \ |
|
9 |
- LD_PRELOAD=${CMAKE_BINARY_DIR}/liblwptpl/liblwptpl.so \ |
|
8 |
+ ( |
|
9 |
+ export LWPTPL_OUTPUT=out.proto |
|
10 |
+ export LD_PRELOAD=${CMAKE_BINARY_DIR}/liblwptpl/liblwptpl.so |
|
10 | 11 |
/bin/true a b 'c d' |
12 |
+ /bin/false e f 'g h' |
|
13 |
+ ) |
|
11 | 14 |
ls -l out.proto |
12 | 15 |
protoc --proto_path ${CMAKE_SOURCE_DIR}/liblwpttr lwproctrace.proto \ |
13 | 16 |
--decode lwproctrace.event < out.proto |
14 | 17 |