ash: fix . builtin
Also, move [[ ]] comment to test.c and expand it Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
2
shell/ash_test/ash-misc/source1.right
Normal file
2
shell/ash_test/ash-misc/source1.right
Normal file
@@ -0,0 +1,2 @@
|
||||
Sourced ok
|
||||
Done
|
5
shell/ash_test/ash-misc/source1.tests
Executable file
5
shell/ash_test/ash-misc/source1.tests
Executable file
@@ -0,0 +1,5 @@
|
||||
echo "echo Sourced ok" >../sourced.sh
|
||||
PATH="..:$PATH"
|
||||
. sourced.sh
|
||||
rm ../sourced.sh
|
||||
echo Done
|
@@ -19,7 +19,7 @@ export THIS_SH
|
||||
do_test()
|
||||
{
|
||||
test -d "$1" || return 0
|
||||
echo do_test "$1"
|
||||
# echo do_test "$1"
|
||||
# $1 but with / replaced by # so that it can be used as filename part
|
||||
noslash=`echo "$1" | sed 's:/:#:g'`
|
||||
(
|
||||
|
Reference in New Issue
Block a user