1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/bin/bash
### Configure shell
#
set -e
set -u
### Include main _bootstrap.sh
#
. `dirname $BASH_SOURCE`/../_bootstrap.sh
### This dir-specific settings
#
# Path to the freshly built `snoopyctl` CLI tool
export SNOOPY_CLI="$SNOOPY_CUR_TEST_WORKDIR/../../src/cli/snoopyctl"
# This one changes the behaviour of `snoopyctl ...` CLI tool, to look for `libsnoopy.so`
# in the specified location instead of the configured one.
# For now, this does not change what `snoopyctl enable` puts into the `ld.so.preload` file.
export SNOOPY_TEST_LIBSNOOPY_SO_PATH="$SNOOPY_CUR_TEST_WORKDIR/../../src/.libs/libsnoopy.so"
|