aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-17 12:28:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-17 12:28:44 +0000
commit16c2fea2803d64b84d196fc315132fd09112ff14 (patch)
treed66b6f43e8fd52c63a49d1b4fbb89852debe6eb1 /shell/hush_test
parent13436ea0dd2b70271d30bd6f682cc9cbe41b26c6 (diff)
downloadbusybox-16c2fea2803d64b84d196fc315132fd09112ff14.tar.gz
hush: fix $$ handling
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-misc/pid.right1
-rwxr-xr-xshell/hush_test/hush-misc/pid.tests1
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/pid.right b/shell/hush_test/hush-misc/pid.right
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/shell/hush_test/hush-misc/pid.right
@@ -0,0 +1 @@
+0
diff --git a/shell/hush_test/hush-misc/pid.tests b/shell/hush_test/hush-misc/pid.tests
new file mode 100755
index 000000000..eaeaa717b
--- /dev/null
+++ b/shell/hush_test/hush-misc/pid.tests
@@ -0,0 +1 @@
+test `(echo $$)` = `echo $$`; echo $?