mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-10 12:10:35 +02:00
Bash-5.3-alpha release
This commit is contained in:
+55
-1
@@ -12,6 +12,8 @@ returns: 0
|
||||
returns: 0
|
||||
returns: 1
|
||||
returns: 0
|
||||
./cond.tests: line 65: [[: X: integer expected
|
||||
returns: 2
|
||||
returns: 0
|
||||
returns: 1
|
||||
returns: 1
|
||||
@@ -27,7 +29,7 @@ returns: 0
|
||||
returns: 1
|
||||
returns: 1
|
||||
returns: 0
|
||||
./cond.tests: line 122: [[: 4+: syntax error: operand expected (error token is "+")
|
||||
./cond.tests: line 126: [[: 4+: arithmetic syntax error: operand expected (error token is "+")
|
||||
returns: 1
|
||||
returns: 0
|
||||
returns: 0
|
||||
@@ -52,6 +54,12 @@ ok 2
|
||||
ok 3
|
||||
ok 4
|
||||
ok 5
|
||||
ok c1
|
||||
ok c2
|
||||
ok c3
|
||||
ok c4
|
||||
ok c5
|
||||
ok c6
|
||||
match 1
|
||||
match 2
|
||||
match 3
|
||||
@@ -76,6 +84,11 @@ match control-a 2
|
||||
match control-a 3
|
||||
match control-a 4
|
||||
match control-a 5
|
||||
./cond-regexp2.sub: line 18: [[: invalid regular expression `[\.': brackets ([ ]) not balanced
|
||||
./cond-regexp2.sub: line 24: [[: invalid regular expression `[z-a]': invalid character range
|
||||
./cond-regexp2.sub: line 26: [[: invalid regular expression `[[:invalid:]abc]': invalid character class
|
||||
./cond-regexp2.sub: line 29: [[: invalid regular expression `x\': trailing backslash (\)
|
||||
./cond-regexp2.sub: line 32: [[: invalid regular expression `a(xb': parentheses not balanced
|
||||
ok 1
|
||||
ok 2
|
||||
ok 3
|
||||
@@ -140,3 +153,44 @@ ok 5
|
||||
ok 6
|
||||
ok 7
|
||||
ok 8
|
||||
bash: -c: line 1: unexpected token `EOF', expected `)'
|
||||
bash: -c: line 2: syntax error: unexpected end of file
|
||||
bash: -c: line 1: unexpected EOF while looking for `]]'
|
||||
bash: -c: line 2: syntax error: unexpected end of file
|
||||
bash: -c: line 1: syntax error in conditional expression
|
||||
bash: -c: line 1: syntax error near `]'
|
||||
bash: -c: line 1: `[[ ( -t X ) ]'
|
||||
bash: -c: line 1: unexpected argument `&' to conditional unary operator
|
||||
bash: -c: line 1: syntax error near `&'
|
||||
bash: -c: line 1: `[[ -n &'
|
||||
bash: -c: line 1: syntax error in conditional expression: unexpected token `&'
|
||||
bash: -c: line 1: syntax error near `&'
|
||||
bash: -c: line 1: `[[ -n XX &'
|
||||
bash: -c: line 1: syntax error in conditional expression: unexpected token `&'
|
||||
bash: -c: line 1: syntax error near `&'
|
||||
bash: -c: line 1: `[[ -n XX & ]'
|
||||
bash: -c: line 1: unexpected token `&', conditional binary operator expected
|
||||
bash: -c: line 1: syntax error near `&'
|
||||
bash: -c: line 1: `[[ 4 & ]]'
|
||||
bash: -c: line 1: unexpected argument `&' to conditional binary operator
|
||||
bash: -c: line 1: syntax error near `&'
|
||||
bash: -c: line 1: `[[ 4 > & ]]'
|
||||
bash: -c: line 1: unexpected token `&' in conditional command
|
||||
bash: -c: line 1: syntax error near `&'
|
||||
bash: -c: line 1: `[[ & ]]'
|
||||
bash: -c: line 1: conditional binary operator expected
|
||||
bash: -c: line 1: syntax error near `7'
|
||||
bash: -c: line 1: `[[ -Q 7 ]]'
|
||||
bash: -c: line 1: unexpected argument `<' to conditional unary operator
|
||||
bash: -c: line 1: syntax error near `<'
|
||||
bash: -c: line 1: `[[ -n < ]]'
|
||||
ERR: 22: -[[ -n $unset ]]- failed
|
||||
ERR: 28: -[[ -z nonempty ]]- failed
|
||||
+ [[ -t X ]]
|
||||
./cond-xtrace1.sub: line 6: [[: X: integer expected
|
||||
+ [[ '' > 7 ]]
|
||||
+ [[ -n X ]]
|
||||
+ ivar=42
|
||||
+ [[ 42 -eq 42 ]]
|
||||
+ [[ -n a ]]
|
||||
+ [[ -n b ]]
|
||||
|
||||
Reference in New Issue
Block a user