chiark / gitweb /
Test suite: debpolicy-dbretry: Move taintsout wait
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 23 Jun 2015 12:22:56 +0000 (13:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 23 Jun 2015 13:14:10 +0000 (14:14 +0100)
This is a very minor optimisation.

tests/tests/debpolicy-dbretry

index d45718a..1b98f76 100755 (executable)
@@ -40,10 +40,10 @@ echo >&3 ".output $taintsout"
 echo >&3 'select * from taints;';
 echo >&3 'create table dummy (x text);'
 
-while ! grep $taint $taintsout; do sleep 0.1; done
-
 t-dgit build
 
+while ! grep $taint $taintsout; do sleep 0.1; done
+
 DGIT_RPD_TEST_DBLOOP_HOOK='
        print STDERR "DBLOOP HOOK $sleepy\n";
        $poldbh->sqlite_busy_timeout(500);