From f039e4115c5aeda5439717f92ff6c628057d0ddd Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Tue, 16 Aug 2022 22:19:05 +0100 Subject: [PATCH] attempt to fix pty test (re: dde8da67) It worked on macOS, but failed on the github CI runner. --- src/cmd/ksh93/tests/pty.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/cmd/ksh93/tests/pty.sh b/src/cmd/ksh93/tests/pty.sh index 7e00fc760..806ceb904 100755 --- a/src/cmd/ksh93/tests/pty.sh +++ b/src/cmd/ksh93/tests/pty.sh @@ -1031,19 +1031,14 @@ p :test-1: w set -H p :test-2: w true ${#v} !non_existent -r true \$\{#v} !non_existent\r\n$ -r : !non_existent: event not found +u : !non_existent: event not found w histchars='!^@' p :test-3: w true \\@ !non_existent -r true \\@ !non_existent\r\n$ -r : !non_existent: event not found +u : !non_existent: event not found p :test-4: -w true @ !non_existent -r true @ !non_existent\r\n$ -p :test-5: -w true OK -r true OK\r\n$ +w echo @ !non_existent +u @ !non_existent\r\n$ ! # ======