summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-misc/source2.tests
blob: 40b6b83cdb350d9893b829d5f6848ab0b3f26248 (plain)
1
2
3
4
5
6
7
8
echo 'echo "0:$0 1:$1 2:$2"' >sourced1
set -- 1 2 3
"$THIS_SH" -c '. ./sourced1' arg0 arg1 arg2
echo Ok1:$?
"$THIS_SH" -c '. ./sourced1 q w e' arg0 arg1 arg2
echo Ok2:$?

rm sourced1