sh testsuite: sync ash-misc/source* and hush-misc/source*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
8
shell/ash_test/ash-misc/source5.tests
Executable file
8
shell/ash_test/ash-misc/source5.tests
Executable file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user