summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-14 19:42:12 +0200
committerDenys Vlasenko2009-06-14 19:42:12 +0200
commit82a6fb3ea6b49bcf1ef21ab589179ee2d6ffdc09 (patch)
treeeb8ffd6fcf3a111f5392ecb47a6ad45401ae6d82 /shell/ash_test/ash-misc
parent2441060bebec2d65c9d106335223f37ec6e8ea5b (diff)
downloadbusybox-82a6fb3ea6b49bcf1ef21ab589179ee2d6ffdc09.zip
busybox-82a6fb3ea6b49bcf1ef21ab589179ee2d6ffdc09.tar.gz
ash: fix . builtin
Also, move [[ ]] comment to test.c and expand it Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc')
-rw-r--r--shell/ash_test/ash-misc/source1.right2
-rwxr-xr-xshell/ash_test/ash-misc/source1.tests5
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ash_test/ash-misc/source1.right b/shell/ash_test/ash-misc/source1.right
new file mode 100644
index 0000000..0ab7c54
--- /dev/null
+++ b/shell/ash_test/ash-misc/source1.right
@@ -0,0 +1,2 @@
+Sourced ok
+Done
diff --git a/shell/ash_test/ash-misc/source1.tests b/shell/ash_test/ash-misc/source1.tests
new file mode 100755
index 0000000..e2e75b2
--- /dev/null
+++ b/shell/ash_test/ash-misc/source1.tests
@@ -0,0 +1,5 @@
+echo "echo Sourced ok" >../sourced.sh
+PATH="..:$PATH"
+. sourced.sh
+rm ../sourced.sh
+echo Done