From: Ian Jackson Date: Wed, 21 Feb 2007 14:45:14 +0000 (+0000) Subject: use _ rather than * as placeholder for this package in depends X-Git-Tag: converted-from-bzr~32^3~32 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7802fdfa73f2f1d35509526974ff7badf6f2807d;p=autopkgtest.git use _ rather than * as placeholder for this package in depends --- diff --git a/runner/adt-run b/runner/adt-run index 665038e..a31862c 100755 --- a/runner/adt-run +++ b/runner/adt-run @@ -946,12 +946,12 @@ class Test: dn = [] for d in t.depends: t._debug(' processing dependency '+d) - if not '*' in d: + if not '_' in d: t._debug(' literal dependency '+d) dn.append(d) else: for (pkg,bin) in t.act.binaries: - d = d.replace('*',pkg) + d = d.replace('_',pkg) t._debug(' synthesised dependency '+d) dn.append(d) testbed.prepare(dn) @@ -1065,7 +1065,7 @@ def read_control(act, tree, control_override): base = { 'restrictions': [], 'testsdir': 'debian/tests', - 'depends' : '*' + 'depends' : '_' } for fname in stz.keys(): if fname.startswith(' '): continue