File: autosearch.t

package info (click to toggle)
libwww-search-perl 2.51.60-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,764 kB
  • ctags: 986
  • sloc: perl: 9,906; sh: 132; makefile: 16
file content (26 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: autosearch.t,v 1.9 2008-07-16 00:41:37 Martin Exp $

use ExtUtils::testlib;
use File::Spec::Functions;
use Test::File;
use Test::More qw(no_plan);

use strict;

my $sProg = $ENV{ADTTMP} ? '/usr/bin/AutoSearch' : catfile('blib', 'script', 'AutoSearch');
my $iWIN32 = ($^O =~ m!win32!i);

file_exists_ok($sProg, "$sProg exists");
SKIP:
  {
  skip 'Can not check "executable" file flag on Win32', 1 if $iWIN32;
  file_executable_ok($sProg, "$sProg is executable");
  } # end of SKIP block
pass();
# print STDERR "\n";
diag(`$sProg -V`);
pass();
exit 0;

__END__