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
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 New Issue
Block a user