summaryrefslogtreecommitdiff
path: root/tests/misc/tty-eof.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/tty-eof.pl')
-rwxr-xr-xtests/misc/tty-eof.pl1
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.