File: _bootstrap.sh

package info (click to toggle)
snoopy 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,988 kB
  • sloc: ansic: 7,167; sh: 4,514; makefile: 1,095
file content (25 lines) | stat: -rwxr-xr-x 616 bytes parent folder | download | duplicates (2)
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"