sh: Add tests for some corner cases of 'case' exit status.
These already work properly.
This commit is contained in:
parent
b9c7618836
commit
0d4c3087c0
6
tools/regression/bin/sh/builtins/case11.0
Normal file
6
tools/regression/bin/sh/builtins/case11.0
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
false
|
||||||
|
case x in
|
||||||
|
*)
|
||||||
|
esac
|
6
tools/regression/bin/sh/builtins/case12.0
Normal file
6
tools/regression/bin/sh/builtins/case12.0
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
false
|
||||||
|
case x in
|
||||||
|
y)
|
||||||
|
esac
|
Loading…
x
Reference in New Issue
Block a user