chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import dsc: Documentation
[dgit.git]
/
tests
/
tests
/
debpolicy-dbretry
diff --git
a/tests/tests/debpolicy-dbretry
b/tests/tests/debpolicy-dbretry
index e24175eb817d49317d9c79cd3b3d68089a75445b..b2d80931824bc55c9afc2a1bdbc0408b74ac6c54 100755
(executable)
--- a/
tests/tests/debpolicy-dbretry
+++ b/
tests/tests/debpolicy-dbretry
@@
-22,7
+22,7
@@
t-commit 'Make something to autotaint'
t-dgit build
t-dgit push --new
t-dgit build
t-dgit push --new
-autotaint=`t-git-get-ref "refs/tags/
debian
/$v"`
+autotaint=`t-git-get-ref "refs/tags/
$tagpfx
/$v"`
git reset --hard start
t-commit 'Thing which will autotaint'
git reset --hard start
t-commit 'Thing which will autotaint'
@@
-40,13
+40,13
@@
echo >&3 ".output $taintsout"
echo >&3 'select * from taints;';
echo >&3 'create table dummy (x text);'
echo >&3 'select * from taints;';
echo >&3 'create table dummy (x text);'
-while ! grep $taint $taintsout; do sleep 0.1; done
-
t-dgit build
t-dgit build
-DGIT_DRS_RPD_TEST_DBLOOP_HOOK='
+while ! grep $taint $taintsout; do sleep 0.1; done
+
+DGIT_RPD_TEST_DBLOOP_HOOK='
print STDERR "DBLOOP HOOK $sleepy\n";
print STDERR "DBLOOP HOOK $sleepy\n";
- $poldbh->sqlite_busy_timeout(500);
+ $poldbh->sqlite_busy_timeout(
2
500);
if ($sleepy > 2) {
system '\''
set -ex
if ($sleepy > 2) {
system '\''
set -ex