diff options
Diffstat (limited to 'tests/misc/tty-eof.pl')
-rwxr-xr-x | tests/misc/tty-eof.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/misc/tty-eof.pl b/tests/misc/tty-eof.pl index c1b4b785f..f7f549207 100755 --- a/tests/misc/tty-eof.pl +++ b/tests/misc/tty-eof.pl @@ -68,6 +68,7 @@ $@ { my $exp = new Expect; $exp->log_user(0); + $ENV{built_programs} =~ /\b$cmd\b/ || next; $exp->spawn("$cmd 2> $stderr") or (warn "$ME: cannot run '$cmd': $!\n"), $fail=1, next; # No input for cut -f2. |