--- check.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/check.sh b/check.sh index ff3821f..01c3e57 100755 --- a/check.sh +++ b/check.sh @@ -1,5 +1,12 @@ #!/bin/bash +if /sbin/ifconfig | egrep -q '^lo[[:space:]]+Link'; then + echo "loopback interface is configured, getting on with tests" +else + echo "loopback interface is NOT configured, won't run tests" + exit 0 +fi + one="$(dirname "$0")/check-one.sh" for commands in "$@"; do -- 1.7.0 -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
