From f8ddbe1ccce9eceaaac28b4b1aa71631fcc56db6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 25 Jul 2016 03:56:00 +0200 Subject: ash: fix handling of ${VAR: -2} Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-vars/var_bash1a.right | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 shell/ash_test/ash-vars/var_bash1a.right (limited to 'shell/ash_test/ash-vars/var_bash1a.right') diff --git a/shell/ash_test/ash-vars/var_bash1a.right b/shell/ash_test/ash-vars/var_bash1a.right new file mode 100644 index 0000000..1965b5c --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash1a.right @@ -0,0 +1,6 @@ +parameter 'abcdef' +varoffset2 'cdef' +varoffset-2 'ef' +literal '2' 'cdef' +literal '-2' 'abcdef' +literal ' -2' 'ef' -- cgit v1.1