/usr/lib/telepathy-gabble-tests/twisted/tools/exec-with-log.sh is in telepathy-gabble-tests 0.18.3-2build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #!/bin/sh
cd "/build/telepathy-gabble-y6Xy7T/telepathy-gabble-0.18.3/tests/twisted/tools"
GABBLE_DEBUG=all GIBBER_DEBUG=all WOCKY_DEBUG=all
export GABBLE_DEBUG
export GIBBER_DEBUG
export WOCKY_DEBUG
GABBLE_TIMING=1
export GABBLE_TIMING
GABBLE_PLUGIN_DIR="/build/telepathy-gabble-y6Xy7T/telepathy-gabble-0.18.3/plugins/.libs"
export GABBLE_PLUGIN_DIR
WOCKY_CAPS_CACHE=:memory:
export WOCKY_CAPS_CACHE
WOCKY_CAPS_CACHE_SIZE=50
export WOCKY_CAPS_CACHE_SIZE
G_MESSAGES_DEBUG=all
export G_MESSAGES_DEBUG
ulimit -c unlimited
exec >> gabble-testing.log 2>&1
G_SLICE=debug-blocks
export G_SLICE
if test -n "$GABBLE_TEST_VALGRIND"; then
G_DEBUG=${G_DEBUG:+"${G_DEBUG},"}gc-friendly
export G_DEBUG
G_SLICE=${G_SLICE},always-malloc
export G_SLICE
DBUS_DISABLE_MEM_POOLS=1
export DBUS_DISABLE_MEM_POOLS
GABBLE_WRAPPER="valgrind --leak-check=full --num-callers=20"
GABBLE_WRAPPER="$GABBLE_WRAPPER --show-reachable=yes"
GABBLE_WRAPPER="$GABBLE_WRAPPER --gen-suppressions=all"
GABBLE_WRAPPER="$GABBLE_WRAPPER --child-silent-after-fork=yes"
GABBLE_WRAPPER="$GABBLE_WRAPPER --suppressions=/build/telepathy-gabble-y6Xy7T/telepathy-gabble-0.18.3/tests/suppressions/tp-glib.supp"
GABBLE_WRAPPER="$GABBLE_WRAPPER --suppressions=/build/telepathy-gabble-y6Xy7T/telepathy-gabble-0.18.3/tests/suppressions/gabble.supp"
elif test -n "$GABBLE_TEST_REFDBG"; then
if test -z "$REFDBG_OPTIONS" ; then
REFDBG_OPTIONS="btnum=10"
export REFDBG_OPTIONS
fi
if test -z "$GABBLE_WRAPPER" ; then
GABBLE_WRAPPER="refdbg"
fi
elif test -n "$GABBLE_TEST_STRACE"; then
GABBLE_WRAPPER="strace -o strace.log"
elif test -n "$GABBLE_TEST_BACKTRACE"; then
GABBLE_WRAPPER="gdb -x run_and_bt.gdb"
fi
# Prevent libproxy from hitting the network for wpad configuration
PX_MODULE_BLACKLIST=config_wpad
export PX_MODULE_BLACKLIST
G_DEBUG=fatal-warnings,fatal-criticals" ${G_DEBUG}"
export G_DEBUG
exec /build/telepathy-gabble-y6Xy7T/telepathy-gabble-0.18.3/libtool --mode=execute $GABBLE_WRAPPER ../telepathy-gabble-debug
|