Move sleep till after kill in test
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 2 Oct 2009 20:50:02 +0000 (22:50 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 2 Oct 2009 20:50:02 +0000 (22:50 +0200)
test/run_pazpar2.sh

index e306b37..33cc784 100755 (executable)
@@ -117,11 +117,11 @@ for f in `cat ${srcdir}/${URLS}`; do
 done
 IFS="$oIFS"
 
-sleep 1
 # Kill programs
 
 if test -n "$PP2PID"; then
     kill $PP2PID
+    sleep 1
 fi
 
 exit $code