ddclient/t/version.pl.in
Richard Hansen 0806363b57 Tell Autoconf to get the version from ddclient.in
This avoids the need to maintain the same version string in two
different places.
2024-05-12 16:43:43 -04:00

9 lines
237 B
Perl

use Test::More;
use version;
SKIP: { eval { require Test::Warnings; } or skip($@, 1); }
eval { require 'ddclient'; } or BAIL_OUT($@);
is($ddclient::version, '@PACKAGE_VERSION@', "version matches version in Autoconf");
done_testing();