Files
epics-base/test/tools/Function.plt
Andrew Johnson 044b7a31ef Use @TOP@ and @ARCH@ in .plt files
No need for msi-copy(.exe) as a result.
Tests should now work with INSTALL_LOCATION set, and
don't need to use databaseModuleDirs either.
2017-09-22 14:27:14 -05:00

13 lines
208 B
Prolog

#!/usr/bin/env perl
use lib '@TOP@/lib/perl';
use Test::More tests => 2;
use DBD::Function;
my $func = DBD::Function->new('test');
isa_ok $func, 'DBD::Function';
is $func->name, 'test', 'Function name';