diff options
Diffstat (limited to 'shell/ash_test')
-rw-r--r-- | shell/ash_test/ash-misc/source1.right | 2 | ||||
-rwxr-xr-x | shell/ash_test/ash-misc/source1.tests | 5 | ||||
-rwxr-xr-x | shell/ash_test/run-all | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/shell/ash_test/ash-misc/source1.right b/shell/ash_test/ash-misc/source1.right new file mode 100644 index 000000000..0ab7c548c --- /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 000000000..e2e75b227 --- /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 diff --git a/shell/ash_test/run-all b/shell/ash_test/run-all index 4d0f39a41..ad93e251d 100755 --- a/shell/ash_test/run-all +++ b/shell/ash_test/run-all @@ -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'` ( |