mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 22:26:52 +08:00
add test case for 364d3dbbf8
This commit is contained in:
parent
364d3dbbf8
commit
9b97c55546
|
@ -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
|
||||
|
|
|
@ -6,3 +6,4 @@ Test 2 pass
|
|||
Test pass
|
||||
Test 3 pass
|
||||
Test 4 pass
|
||||
Test 5 pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user