From 82a6fb3ea6b49bcf1ef21ab589179ee2d6ffdc09 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 14 Jun 2009 19:42:12 +0200 Subject: ash: fix . builtin Also, move [[ ]] comment to test.c and expand it Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-misc/source1.right | 2 ++ shell/ash_test/ash-misc/source1.tests | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 shell/ash_test/ash-misc/source1.right create mode 100755 shell/ash_test/ash-misc/source1.tests (limited to 'shell/ash_test/ash-misc') 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 -- cgit v1.1