summaryrefslogtreecommitdiff
path: root/bin/test
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-09 14:06:01 -0600
committermo khan <mo@mokhan.ca>2025-06-09 14:06:01 -0600
commit2882d172f610c1b9af41474bde6b6a90ba0b9ca4 (patch)
treefb55e7e504df49217125c134b9ea93579580b387 /bin/test
parentf42e23ad9847e11e86c77623eb77da3355b6d71b (diff)
test: specify the BIND_ADDR
Diffstat (limited to 'bin/test')
-rwxr-xr-xbin/test7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/test b/bin/test
index 047eff3..afab2a3 100755
--- a/bin/test
+++ b/bin/test
@@ -1,3 +1,8 @@
#!/bin/sh
-bundle exec rspec
+set -e
+
+cd "$(dirname "$0")/.."
+
+export BIND_ADDR=127.0.0.1:7878
+bundle exec rspec "$@"