File: 85-crt-glob.t

package info (click to toggle)
libpar-packer-perl 1.064-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,388 kB
  • sloc: perl: 12,774; ansic: 1,474; makefile: 30; sh: 5
file content (13 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
require "./t/utils.pl";

plan tests => 3;

my $exe = pp_ok(-e => 'for (my $i = 0; $i < @ARGV; $i++) { printf qq[%d#%s\n], $i, $ARGV[$i]; }');
my ($out) = run_ok($exe, '*');
is($out, "0#*\n", "no globbing of arguments");