From 63d765e666a8b23e3923acecdc41be71d5679439 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 14 May 2019 19:15:20 +0200 Subject: shells: add tests for backslashes in export VAR=VAL Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-misc/export1.right | 1 + shell/ash_test/ash-misc/export1.tests | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 shell/ash_test/ash-misc/export1.right create mode 100755 shell/ash_test/ash-misc/export1.tests (limited to 'shell/ash_test/ash-misc') diff --git a/shell/ash_test/ash-misc/export1.right b/shell/ash_test/ash-misc/export1.right new file mode 100644 index 000000000..56647af8e --- /dev/null +++ b/shell/ash_test/ash-misc/export1.right @@ -0,0 +1 @@ +|\w \\ \ \| diff --git a/shell/ash_test/ash-misc/export1.tests b/shell/ash_test/ash-misc/export1.tests new file mode 100755 index 000000000..4ffb40bdc --- /dev/null +++ b/shell/ash_test/ash-misc/export1.tests @@ -0,0 +1,2 @@ +export Z='\w \\ \ \' +echo "|$Z|" -- cgit v1.2.3