summaryrefslogtreecommitdiff
path: root/tests/exp.right
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2021-04-01 17:25:48 -0400
committerChet Ramey <chet.ramey@case.edu>2021-04-01 17:25:48 -0400
commit8f485ff84c2d67593f8797ee10169f97163c7adb (patch)
tree12474d0f478ed458dcef8156c244286a03a26466 /tests/exp.right
parent65822e501190830edd0223cfa88576b7709177e8 (diff)
downloadbash-8f485ff84c2d67593f8797ee10169f97163c7adb.tar.gz
new readline "fetch-history" bindable command; declare -p output change
Diffstat (limited to 'tests/exp.right')
-rw-r--r--tests/exp.right7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/exp.right b/tests/exp.right
index 4e88ca9b..c14db001 100644
--- a/tests/exp.right
+++ b/tests/exp.right
@@ -227,15 +227,16 @@ argv[2] = <Y>
argv[1] = <XY^AY>
argv[1] = <x^Ay^?z>
argv[1] = <x^Ay^?z>
-declare -- var="xyz"
+declare -- var=$'x\001y\177z'
argv[1] = <declare>
argv[2] = <-->
-argv[3] = <var="x^Ay^?z">
+argv[3] = <var=$'x\001y\177z'>
+declare -- var=$'x\001y\177z'$
declare -- var="x\001y\177z"$
argv[1] = <$'x\001y\177z'>
argv[1] = <x^Ay^?z>
var=$'x\001y\177z'
-./exp8.sub: line 29: xyz: syntax error: invalid arithmetic operator (error token is "z")
+./exp8.sub: line 30: xyz: syntax error: invalid arithmetic operator (error token is "z")
declare -a array=()
declare -a array=([0]=$'x\001y\177z')
argv[1] = <x^Ay^?z>