summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/bin/ksh/regress.t23
1 files changed, 22 insertions, 1 deletions
diff --git a/regress/bin/ksh/regress.t b/regress/bin/ksh/regress.t
index 837e29d6a07..fdc7241e2a6 100644
--- a/regress/bin/ksh/regress.t
+++ b/regress/bin/ksh/regress.t
@@ -1,4 +1,4 @@
-# $OpenBSD: regress.t,v 1.1 2013/12/02 20:39:44 millert Exp $
+# $OpenBSD: regress.t,v 1.2 2015/07/30 17:24:08 millert Exp $
#
# The first 39 of these tests are from the old Bugs script.
@@ -1089,3 +1089,24 @@ expected-stdout:
ot OK
---
+name: regression-63
+description:
+ Check octal escape expansion in prompts.
+file-setup: file 644 "env"
+ PS1=\\131
+ PS2=\\130
+env-setup: !ENV=./env!
+arguments: !-i!
+stdin:
+ echo hello
+ for i in 1 2 3; do
+ echo there
+ done
+expected-stdout:
+ hello
+ there
+ there
+ there
+expected-stderr: !
+ YYXXY
+---