☰
Debian Codegraph
@
1:3.27.1-3
1:3.27.1-2
/
/
tests
/
run
/
cwrap_test
☽
☼
tests/run/cwrap_test
code
plain
raw
1
#!/bin/sh
2
3
export SOCKET_WRAPPER_DIR=$(mktemp -d)
4
export LD_PRELOAD="libsocket_wrapper.so libnss_wrapper.so"
5
6
cleanup_sw() {
7
rm -rf $SOCKET_WRAPPER_DIR
8
}
9
10
trap -- cleanup_sw EXIT
11
12
$(dirname $0)/simple_test "$@"
13
14
exit $?