File: perl-v5.10.1.t

package info (click to toggle)
libtest-is-perl 20140823.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 152 kB
  • sloc: perl: 35; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Generic test dependent on its filename

use strict;
use warnings;

use File::Spec ();

my $arg;
BEGIN {
    $arg = substr(File::Spec->splitpath(__FILE__), 0, -2)
}

use Test::Is $arg;

use Test::More tests => 1;
pass "$arg test";