aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_bash1b.right
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-17 17:49:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-17 17:49:11 +0200
commit826360ff238eb23191950dd4c5051195eab9733a (patch)
treed9dbd7da77e985e181af0b8ad406d467379b498b /shell/ash_test/ash-vars/var_bash1b.right
parent4f8079de877cf2b7206e4cabaf465fb7d8cc4f62 (diff)
downloadbusybox-826360ff238eb23191950dd4c5051195eab9733a.tar.gz
ash: more general format ${var:EXPR:EXPR}
function old new delta subevalvar 1171 1202 +31 localcmd 364 366 +2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var_bash1b.right')
-rw-r--r--shell/ash_test/ash-vars/var_bash1b.right23
1 files changed, 23 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_bash1b.right b/shell/ash_test/ash-vars/var_bash1b.right
new file mode 100644
index 000000000..fafc0f07c
--- /dev/null
+++ b/shell/ash_test/ash-vars/var_bash1b.right
@@ -0,0 +1,23 @@
+all |0123456
+4: |456
+4:2 |45
+4:-1 |45
+4:-2 |4
+4:-3 |
+-4: |3456
+-4:2 |34
+-4:-1 |345
+-4:-2 |34
+-4:-3 |3
+-4:-4 |
+-4:i=2 |34
+-4:i=-2|34
+-4:i=-3|3
+-4:i=-4|
+-5: |23456
+-6: |123456
+-7: |0123456
+-8: |
+-9: |
+-9:-99 |
+Ok:0