diff options
Diffstat (limited to 'shell/hush_test/hush-misc/source1.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/source1.tests | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/shell/hush_test/hush-misc/source1.tests b/shell/hush_test/hush-misc/source1.tests index c138883..e2e75b2 100755 --- a/shell/hush_test/hush-misc/source1.tests +++ b/shell/hush_test/hush-misc/source1.tests @@ -1,10 +1,5 @@ -echo 'echo ${^} -echo line2' >sourced1 -. ./sourced1 -echo Ok1:$? - -echo "echo '" >sourced1 -. ./sourced1 -echo Ok2:$? - -rm sourced1 +echo "echo Sourced ok" >../sourced.sh +PATH="..:$PATH" +. sourced.sh +rm ../sourced.sh +echo Done |