BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
ad0d59b
Branches
Tags
master
uproctrace
tests
fork
forktest.bash
add test for forking app
Stefan Schuermans
commited
ad0d59b
at 2021-03-09 19:21:47
forktest.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")" source "$UPT_HOME/exports" rm -rf forkapp.upt upt-trace forkapp.upt "$UPT_HOME/tests/fork/forkapp" upt-tool forkapp.upt pstree | tee forkapp.pstree sed -e "s%__UPT_HOME__%$UPT_HOME%" "$SCRIPT_DIR/forkapp.pstree_ref" \ >forkapp.pstree_ref diff -u forkapp.pstree forkapp.pstree_ref