38f7d8c0290d8888db426e6848720bf08b62f8a4
Stefan Schuermans move test into subdir

Stefan Schuermans authored 4 years ago

1) add_test(
2)   NAME
3)   first
4)   COMMAND
5)   bash -c
6)   "
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

7)     set -eux -o pipefail
Stefan Schuermans move test into subdir

Stefan Schuermans authored 4 years ago

8)     > out.proto
9)     (
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

10)       export UPTPL_OUTPUT=out.proto
11)       export LD_PRELOAD=${CMAKE_BINARY_DIR}/libuptpl/libuptpl.so
Stefan Schuermans move test into subdir

Stefan Schuermans authored 4 years ago

12)       /bin/true a b 'c d'
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

13)       /usr/bin/printf '' e f 'g h'
Stefan Schuermans move test into subdir

Stefan Schuermans authored 4 years ago

14)     )
15)     ls -l out.proto
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

16)     ${CMAKE_BINARY_DIR}/dump/dump.py out.proto | tee out.dump
17)     grep '^ *event *{ *$' out.dump | wc -l | grep '^4$'