fixup! Mock getaddrinfo

aeris 2022-04-26 17:28:50 +02:00
parent d60a1b30df
commit dbe0563363
1 changed files with 7 additions and 0 deletions

7
bin/rspec.sh 100755
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
eval "$(bin/load-rbenv "$1")"
BASE_DIR="$(dirname "$(dirname "$0")")"
shift
LD_PRELOAD="$BASE_DIR/build/libfake.so" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$BASE_DIR/build/" \
exec rspec "$@"