diff options
author | Jeremy Evans <jeremyevans0@gmail.com> | 2011-11-15 15:21:58 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-15 15:24:30 -0800 |
commit | 66c706acfb3cda802bac4629219e3c3e064352ed (patch) | |
tree | 07f66d5957ddd1620d3e9a8b206b7b01710a6764 | |
parent | 9e62bc10294f0b6344b47cd596a93ae457d546fb (diff) | |
download | unicorn-66c706acfb3cda802bac4629219e3c3e064352ed.tar.gz |
expr on OpenBSD uses a basic regular expression (according to re_format(7)), which doesn't support +, only *. Acked-by: Eric Wong <normalperson@yhbt.net>
-rw-r--r-- | t/t0011-active-unix-socket.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0011-active-unix-socket.sh b/t/t0011-active-unix-socket.sh index 6f9ac53..d256f5c 100644 --- a/t/t0011-active-unix-socket.sh +++ b/t/t0011-active-unix-socket.sh @@ -7,7 +7,7 @@ read_pid_unix () { socat - UNIX:$unix_socket | \ tail -1) test -n "$x" - y="$(expr "$x" : '\([0-9]\+\)')" + y="$(expr "$x" : '\([0-9][0-9]*\)')" test x"$x" = x"$y" test -n "$y" echo "$y" |