Lines Matching defs:cmd
19 @EXPORT = (@Test::More::EXPORT, qw(setup run indir cmd app fuzz test
214 =item B<cmd ARRAYREF, OPTS>
225 The options that C<cmd> (as well as its derivatives described below) can take
246 Both of these are specific applications of C<cmd>, with just a couple
265 These are also specific applications of C<cmd>, where the interpreter
296 my $cmd = app(["openssl", ...]);
299 ok(run($cmd), "Testing foo")
310 sub cmd {
311 my $cmd = shift;
316 my @cmdargs = ( @$cmd );
325 my $cmd = shift;
328 my @cmdargs = ( @{$cmd} );
330 return cmd([ @prog, @cmdargs ],
336 my $cmd = shift;
339 my @cmdargs = ( @{$cmd} );
341 return cmd([ @prog, @cmdargs ],
347 my $cmd = shift;
350 my @cmdargs = ( @{$cmd} );
352 return cmd([ @prog, @cmdargs ],
358 my $cmd = shift;
364 my @cmdargs = ( @{$cmd} );
366 return cmd([ @interpreter, @interpreter_args,
372 my $cmd = shift;
378 my @cmdargs = ( @{$cmd} );
380 return cmd([ @interpreter, @interpreter_args,
389 CODEREF is expected to be the value return by C<cmd> or any of its
431 my ($cmd, $display_cmd) = shift->(0);
434 return () if !$cmd;
475 open($pipe, '-|', "$prefix$cmd") or die "Can't start command: $!";
487 system("$prefix$cmd");
801 my ($cmd, $display_cmd) = shift->(0);
807 return $cmd;
1193 # join(" ", __wrap_cmd($cmd))
1195 my $cmd = shift;
1220 return (@prefix, $cmd);
1249 my $cmd = shift;
1252 my $cmdstr = join(" ", @$cmd);