From 7802fdfa73f2f1d35509526974ff7badf6f2807d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 21 Feb 2007 14:45:14 +0000 Subject: [PATCH] use _ rather than * as placeholder for this package in depends --- runner/adt-run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2