From 5ac1c723056268f81ac320648a6d4b6c368f61ab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Apr 2003 20:29:22 +0000 Subject: Send two tokens, not just one, so we don't make the now-more-picky tsort fail. --- tests/misc/tty-eof | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/misc') 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'); -- cgit v1.2.3-70-g09d2