Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sh: Add tests for some corner cases of 'case' exit status.
Obtained-from: FreeBSD 228007
- Loading branch information
Peter Avalos
committed
Dec 25, 2011
1 parent
c7e5ca9
commit e0bacf2
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# $FreeBSD: src/tools/regression/bin/sh/builtins/case11.0,v 1.1 2011/11/26 22:28:25 jilles Exp $ | ||
|
||
false | ||
case x in | ||
*) | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# $FreeBSD: src/tools/regression/bin/sh/builtins/case12.0,v 1.1 2011/11/26 22:28:25 jilles Exp $ | ||
|
||
false | ||
case x in | ||
y) | ||
esac |