Lines Matching refs:cmd
67 foreach my $cmd ((@stdin_reading_commands), 'basenc --z85', 'cut -f2',
72 my $cmd_name = (split(' ', $cmd))[0];
74 $exp->spawn("$cmd 2> $stderr")
75 or (warn "$ME: cannot run '$cmd': $!\n"), $fail=1, next;
78 $cmd =~ /^cut/
81 $cmd =~ /^cut/
83 $cmd =~ /^cut/
88 defined $found || $cmd =~ /^cut/
89 or (warn "$ME: $cmd didn't produce expected output\n"),
92 or (warn "$ME: $cmd didn't exit after ^D from standard input\n"),
96 or (warn "$ME: $cmd exited with status $s (expected 0)\n"),
101 $cmd eq 'dd' && $s == 0
106 warn "$ME: $cmd wrote to stderr:\n";
114 or warn "$ME: failed to remove stderr file from $cmd, $stderr: $!\n";