]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/case8.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / case8.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/case8.0 223120 2011-06-15 21:48:10Z jilles $
71aad674
A
2
3case aZ_ in
4[[:alpha:]_][[:upper:]_][[:alpha:]_]) ;;
5*) echo Failed at $LINENO ;;
6esac
7
8case ' ' in
9[[:alpha:][:digit:]]) echo Failed at $LINENO ;;
10[![:alpha:][:digit:]]) ;;
11*) echo Failed at $LINENO ;;
12esac
13
14case '.X.' in
15*[[:lower:]]*) echo Failed at $LINENO ;;
16*[[:upper:]]*) ;;
17*) echo Failed at $LINENO ;;
18esac
19
20case ' ' in
21[![:print:]]) echo Failed at $LINENO ;;
22[![:alnum:][:punct:]]) ;;
23*) echo Failed at $LINENO ;;
24esac
25
26case '
27' in
28[[:print:]]) echo Failed at $LINENO ;;
29['
30'[:digit:]]) ;;
31*) echo Failed at $LINENO ;;
32esac