summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/misc/tty-eof4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/tty-eof b/tests/misc/tty-eof
index 831626e6a..aca723526 100755
--- a/tests/misc/tty-eof
+++ b/tests/misc/tty-eof
@@ -36,9 +36,9 @@ $@ and (warn "$ME: this script requires Perl's Expect package >=1.11\n"),
$exp->log_user(0);
$exp->spawn($cmd)
or (warn "$ME: cannot run `$cmd': $!\n"), $fail=1, next;
- $exp->send("foo\n");
+ $exp->send("a b\n");
$exp->send(''); # FIXME: it'd be better not to hard-code ^D here
- $exp->expect (0, '-re', "^foo\\r?\$");
+ $exp->expect (0, '-re', "^a b\\r?\$");
my $found = $exp->expect (1, '-re', "^.+\$");
# $found and warn "F: $found: " . $exp->exp_match () . "\n";
$exp->expect(1, 'eof');