mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
shells: add tests for backslashes in export VAR=VAL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d8bd7012a3
commit
63d765e666
4 changed files with 6 additions and 0 deletions
1
shell/ash_test/ash-misc/export1.right
Normal file
1
shell/ash_test/ash-misc/export1.right
Normal file
|
|
@ -0,0 +1 @@
|
|||
|\w \\ \ \|
|
||||
2
shell/ash_test/ash-misc/export1.tests
Executable file
2
shell/ash_test/ash-misc/export1.tests
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
export Z='\w \\ \ \'
|
||||
echo "|$Z|"
|
||||
1
shell/hush_test/hush-misc/export1.right
Normal file
1
shell/hush_test/hush-misc/export1.right
Normal file
|
|
@ -0,0 +1 @@
|
|||
|\w \\ \ \|
|
||||
2
shell/hush_test/hush-misc/export1.tests
Executable file
2
shell/hush_test/hush-misc/export1.tests
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
export Z='\w \\ \ \'
|
||||
echo "|$Z|"
|
||||
Loading…
Reference in a new issue