summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/shell/hush_test/hush-vars/var_in_pipes.tests
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/shell/hush_test/hush-vars/var_in_pipes.tests')
-rwxr-xr-xrelease/src/router/busybox/shell/hush_test/hush-vars/var_in_pipes.tests7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/hush_test/hush-vars/var_in_pipes.tests b/release/src/router/busybox/shell/hush_test/hush-vars/var_in_pipes.tests
new file mode 100755
index 00000000..3f8cd272
--- /dev/null
+++ b/release/src/router/busybox/shell/hush_test/hush-vars/var_in_pipes.tests
@@ -0,0 +1,7 @@
+b=1 env | grep ^b=
+true | b=2 env | grep ^b=
+a=1 true | b=3 env | grep ^b=
+
+(b=4 env) | grep ^b=
+(true | b=5 env) | grep ^b=
+(a=1 true | b=6 env) | grep ^b=