summaryrefslogtreecommitdiff
path: root/regress/bin
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2017-06-22 18:05:32 +0000
committeranton <anton@cvs.openbsd.org>2017-06-22 18:05:32 +0000
commit8e662556af41a79fce34cba96788bcbdfc46141d (patch)
tree616135cd4ac789c151d8bbb449a0d3c6d4381b6a /regress/bin
parent36b817661da70f1a7b093957231f3c1cfc851b63 (diff)
Make sure to abort loops when pressing ^C in csh.
Regression found by deraadt@
Diffstat (limited to 'regress/bin')
-rw-r--r--regress/bin/csh/filec.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/bin/csh/filec.sh b/regress/bin/csh/filec.sh
index 3b7dc5bd58a..338a91762b7 100644
--- a/regress/bin/csh/filec.sh
+++ b/regress/bin/csh/filec.sh
@@ -76,6 +76,7 @@ testseq "\t\0177" " % \b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b"
# VINTR: Abort line.
testseq "\0003" " % ^C\r\n % "
testseq "ab\0003" " % ab^C\r\n % "
+testseq "foreach i ()\n\0003a" " % foreach i ()\r\n? ^C\r\r\n % a"
# VKILL: Kill line.
testseq "\0025" " % "