#! /bin/bash set -eux -o pipefail if (( $# < 1 )) then echo "usage: $0 " >&2 exit 2 fi UPT_HOME="$1" SCRIPT_DIR="$(dirname "$0")" source "$UPT_HOME/exports" rm -rf out.proto upt-trace out.proto "$SCRIPT_DIR/traceme.bash" ls -l out.proto upt-dump out.proto | tee out.dump grep '^ *event *{ *$' out.dump | wc -l | tee out.event_cnt grep '^6$' out.event_cnt