Results for dbracket.test.sh

statusoshosh-cpp
pass 4949
total4949
caseoshosh-cppdescription
0pass pass [[ glob matching, [[ has no glob expansion
1pass pass [[ glob matching with escapes
2pass pass equality
3pass pass [[ glob matching with unquoted var
4pass pass [[ regex matching
5pass pass [[ regex syntax error
6pass pass [[ has no word splitting
7pass pass [[ has quote joining
8pass pass [[ empty string is false
9pass pass && chain
10pass pass || chain
11pass pass [[ compound expressions
12pass pass precedence of && and || inside [[
13pass pass precedence of && and || in a command context
14pass pass Octal literals with -eq
15pass pass Hex literals with -eq
16pass pass > on strings
17pass pass != on strings
18pass pass -eq on strings
19pass pass [[ compare with literal -f (compare with test-builtin.test.sh)
20pass pass [[ with op variable (compare with test-builtin.test.sh)
21pass pass [[ with unquoted empty var (compare with test-builtin.test.sh)
22pass pass [[ at runtime doesn't work
23pass pass [[ with env prefix doesn't work
24pass pass [[ over multiple lines is OK
25pass pass Argument that looks like a real operator
26pass pass User array compared to "$@" (broken unless shopt -s strict_array)
27pass pass Array coerces to string (shopt -s strict_array to disallow)
28pass pass (( array1 == array2 )) doesn't work
29pass pass Quotes don't matter in comparison
30pass pass -eq does dynamic arithmetic parsing (not supported in OSH)
31pass pass -eq coercion produces weird results
32pass pass [[ '(' ]] is treated as literal
33pass pass [[ '(' foo ]] is syntax error
34pass pass empty ! is treated as literal
35pass pass [[ -z ]] is syntax error
36pass pass [[ -z '>' ]]
37pass pass [[ -z '>' a ]] is syntax error
38pass pass test whether ']]' is empty
39pass pass [[ ]] is syntax error
40pass pass [[ && ]] is syntax error
41pass pass [[ a 3< b ]] doesn't work (bug regression)
42pass pass tilde expansion in [[
43pass pass more tilde expansion
44pass pass tilde expansion with =~ (confusing)
45pass pass [[ ]] with redirect
46pass pass special chars
47pass pass \(\) in pattern (regression)
48pass pass negative numbers - zero, decimal, octal, hex, base N
98 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped