summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/testcase.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/testcase.c b/ext/testcase.c
index 923e4f1..d21621d 100644
--- a/ext/testcase.c
+++ b/ext/testcase.c
@@ -325,6 +325,11 @@ testcase_str2dep(Pool *pool, char *s)
else
id = pool_strn2id(pool, n, s - n, 1);
}
+ else if (s - n > 4 && s[-4] == ':' && !strncmp(s - 4, ":any", 4))
+ {
+ id = pool_strn2id(pool, n, s - n - 4, 1);
+ id = pool_rel2id(pool, id, ARCH_ANY, REL_MULTIARCH, 1);
+ }
else
id = pool_strn2id(pool, n, s - n, 1);
if (!*s)