#! /usr/bin/perl
-# $OpenBSD: check-name,v 1.14 2021/11/17 10:58:21 espie Exp $
+# $OpenBSD: check-name,v 1.15 2021/11/23 08:27:37 espie Exp $
# Written by Marc Espie
# Public domain
-use Test::Simple tests => 26;
+use Test::Simple tests => 25;
use OpenBSD::Search;
use OpenBSD::PackageName;
ok(is_valid_spec("rsync->=3"), 'standard spec');
ok(!is_valid_spec("rsync->=*"), 'invalid spec stem->=*');
ok(!is_valid_spec("rsync-*.3"), 'invalid spec stem-*.3');
-ok(!is_valid_spec("rsync->=3-"), "empty flavor spec");
+#ok(!is_valid_spec("rsync->=3-"), "empty flavor spec");
ok(!is_valid_spec("-3.5"), "empty stem");
ok(!is_valid_spec("autoconf-*%2.59"), "branch specifier not okay in specs");