From c5357d45d506caafee2a90ac550c4c00b4b15ed1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 10 Jun 2010 20:55:50 +0000 Subject: tests: split out host/port extraction from listen more tests may use it --- t/t0003-working_directory.sh | 3 --- t/test-lib.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/t0003-working_directory.sh b/t/t0003-working_directory.sh index 3faa6c0..60b85f2 100755 --- a/t/t0003-working_directory.sh +++ b/t/t0003-working_directory.sh @@ -8,9 +8,6 @@ t_begin "setup and start" && { rm -rf $t_pfx.app mkdir $t_pfx.app - port=$(expr $listen : '[^:]*:\([0-9]\+\)') - host=$(expr $listen : '\([^:]*\):[0-9]\+') - cat > $t_pfx.app/config.ru < $unicorn_config <