aboutsummaryrefslogtreecommitdiffstats
path: root/tests/varenv.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/varenv.right')
-rw-r--r--tests/varenv.right56
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/varenv.right b/tests/varenv.right
new file mode 100644
index 0000000..df8086d
--- /dev/null
+++ b/tests/varenv.right
@@ -0,0 +1,56 @@
+3 4
+5 6 7 8 9
+7 8 9
+/usr/chet
+/usr/chet
+/usr/chet
+/a/b/c
+/usr/chet
+/usr/chet 7
+/a/b/c 9 /a/b/c
+/a/b/c 9 /a/b/c
+/a/b/c /a/b/c
+1 2
+1 1
+unset
+toronto airport
+AVAR
+song by rush
+BVAR
+toronto airport
+AVAR
+AVAR
+42
+/bin:/usr/bin:/usr/local/bin:.
+avar=([0]="/bin:/usr/bin:/usr/local/bin:.")
+z=yy
+42
+declare -i ivar="10"
+unset
+declare -x ivar="42"
+hB
+braceexpand:hashall:interactive-comments
+hBP
+braceexpand:hashall:interactive-comments:physical
+declare -r SHELLOPTS="braceexpand:hashall:interactive-comments:physical"
+abcde
+20
+30
+40
+50
+|0|10|
+10
+|0|10|
+10
+|0|10|
+10
+|4|
+4
+|0|11|
+after fff3: x=4
+|0|12|
+|y|
+|y|
+a=z
+a=b
+a=z