summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/testcase.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/testcase.c b/ext/testcase.c
index 6c699e1..72f9dc8 100644
--- a/ext/testcase.c
+++ b/ext/testcase.c
@@ -981,9 +981,6 @@ testcase_write_testtags(Repo *repo, FILE *fp)
evr = pool_id2str(pool, s->evr);
arch = pool_id2str(pool, s->arch);
release = strrchr(evr, '-');
- /* haikus releases start numeric */
- if (release && pool->disttype == DISTTYPE_HAIKU && (release[1] < '0' || release[1] > '9'))
- release = evr + strlen(evr);
if (!release)
release = evr + strlen(evr);
fprintf(fp, "=Pkg: %s %.*s %s %s\n", name, (int)(release - evr), evr, *release && release[1] ? release + 1 : "-", arch);