fix error message when completing backquote command substitution; fix test builtin with double negation

This commit is contained in:
Chet Ramey
2022-06-28 16:15:24 -04:00
parent eb2d46d77c
commit 42768befc0
11 changed files with 2692 additions and 1549 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
BUILD_DIR=/usr/local/build/chet/bash/bash-current
BUILD_DIR=/usr/local/build/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
+3 -1
View File
@@ -220,6 +220,8 @@ t ! -z "$z"
0
t ! -n "$z"
1
t ! ! "$z"
0
t "$zero"
1
t ! "$zero"
@@ -272,7 +274,7 @@ b ( 1 = 2
2
./test.tests: line 26: test: too many arguments
2
./test.tests: line 431: [: missing `]'
./test.tests: line 434: [: missing `]'
2
./test.tests: line 26: test: (: unary operator expected
2
+3
View File
@@ -358,6 +358,9 @@ t ! -z "$z"
echo 't ! -n "$z"'
t ! -n "$z"
echo 't ! ! "$z"'
t ! ! "$z"
zero=
echo 't "$zero"'
t "$zero"