BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
1f85c99
Branches
Tags
master
uproctrace
tests
first
first.bash
implement upt-trace wrapper
Stefan Schuermans
commited
1f85c99
at 2020-05-22 13:32:43
first.bash
Blame
History
Raw
#! /bin/bash set -eux -o pipefail if (( $# < 1 )) then echo "usage: $0 <UPT_HOME>" >&2 exit 2 fi UPT_HOME="$1" SCRIPT_DIR="$(dirname "$0")" rm -rf out.proto "$UPT_HOME/bin/upt-trace" out.proto "$SCRIPT_DIR/traceme.bash" ls -l out.proto "$UPT_HOME/dump/dump.py" out.proto | tee out.dump grep '^ *event *{ *$' out.dump | wc -l | tee out.event_cnt grep '^6$' out.event_cnt