]> granicus.if.org Git - pdns/commitdiff
Make sure webrick startup won't kill script
authorAki Tuomi <cmouse@cmouse.fi>
Thu, 27 Jun 2013 17:29:56 +0000 (20:29 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Thu, 27 Jun 2013 17:29:56 +0000 (20:29 +0300)
regression-tests/start-test-stop

index a7f1735e46239eaa8a841269679589debc153bee..60e772c0e2f4362ccd191d4a52d580d42cbada24 100755 (executable)
@@ -510,6 +510,7 @@ __EOF__
                                rm -f remotebackend-access.log
                                $testsdir/http-backend.rb &
                                echo $! > pdns-remotebackend.pid
+                               set +e
                                # make sure it runs before continuing
                                loopcount=0
                                while [ $loopcount -lt 20 ]; do
@@ -518,6 +519,7 @@ __EOF__
                                     sleep 1
                                     let loopcount=loopcount+1
                                done
+                               set -e
                                ;;
                        unix)
                                connstr="unix:path=/tmp/remote.socket"