ash testsuite: add most of hust tests which pass for ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
14
shell/ash_test/ash-misc/shift.tests
Executable file
14
shell/ash_test/ash-misc/shift.tests
Executable file
@@ -0,0 +1,14 @@
|
||||
if test $# = 0; then
|
||||
exec "$THIS_SH" $0 abc "d e" 123
|
||||
fi
|
||||
echo $0 $1 $2
|
||||
shift
|
||||
echo $0 $1 $2
|
||||
shift 999
|
||||
echo $0 $1 $2
|
||||
shift 2
|
||||
echo $0 $1 $2
|
||||
shift 2
|
||||
echo $0 $1 $2
|
||||
shift
|
||||
echo $0 $1 $2
|
Reference in New Issue
Block a user