[go: up one dir, main page]

File: dosftp.t

package info (click to toggle)
libfile-listing-perl 6.04-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 456 kB
  • ctags: 20
  • sloc: perl: 17,986; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use Test;
plan tests => 4;

use File::Listing ('parse_dir');

$list = parse_dir(<<EOT, undef, 'dosftp');
02-05-96  10:48AM                 1415 src.slf
09-10-96  09:18AM       <DIR>          sl_util
EOT

ok @$list, 2;
ok $list->[0][0], "src.slf";
ok $list->[0][1], "f";
ok $list->[1][1], "d";