add test case for 364d3dbbf8

This commit is contained in:
Grissiom 2010-11-24 00:35:56 +08:00
parent 364d3dbbf8
commit 9b97c55546
2 changed files with 12 additions and 0 deletions

View File

@ -62,3 +62,14 @@ else
set sta fail
end
echo Test 4 $sta
function test_builtin_status
return 1
end
test_builtin_status
if [ $status -eq 1 ]
set sta pass
else
set sta fail
end
echo Test 5 $sta

View File

@ -6,3 +6,4 @@ Test 2 pass
Test pass
Test 3 pass
Test 4 pass
Test 5 pass