summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst/falsetick3.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2021-07-27 04:20:32 +0200
committerDenys Vlasenko2021-07-27 04:20:32 +0200
commitc450437a4e631378cd6a2dc06a5923ce811a950d (patch)
tree448ad0b6599a5365dedd8f78960957a722c0aecb /shell/hush_test/hush-psubst/falsetick3.tests
parent8dd676c6c3b862846a4a215f5f3a8822fcf8c569 (diff)
downloadbusybox-c450437a4e631378cd6a2dc06a5923ce811a950d.zip
busybox-c450437a4e631378cd6a2dc06a5923ce811a950d.tar.gz
shell: update psubst testcases
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-psubst/falsetick3.tests')
-rwxr-xr-xshell/hush_test/hush-psubst/falsetick3.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-psubst/falsetick3.tests b/shell/hush_test/hush-psubst/falsetick3.tests
new file mode 100755
index 0000000..cd18533
--- /dev/null
+++ b/shell/hush_test/hush-psubst/falsetick3.tests
@@ -0,0 +1,3 @@
+# assignment still happens despite redirect error
+true; a=$(echo b) >/does/not/exist; echo $?
+echo "Done: a=$a"