We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b9256 commit 46f32a9Copy full SHA for 46f32a9
t/test-lib.sh
@@ -184,10 +184,10 @@ export _x05 _x40 _z40 LF u200c
184
# This test checks if command xyzzy does the right thing...
185
# '
186
# . ./test-lib.sh
187
-[ "x$ORIGINAL_TERM" != "xdumb" ] && (
+test "x$ORIGINAL_TERM" != "xdumb" && (
188
TERM=$ORIGINAL_TERM &&
189
export TERM &&
190
- [ -t 1 ] &&
+ test -t 1 &&
191
tput bold >/dev/null 2>&1 &&
192
tput setaf 1 >/dev/null 2>&1 &&
193
tput sgr0 >/dev/null 2>&1
@@ -684,7 +684,7 @@ test_done () {
684
then
685
error "Can't use skip_all after running some tests"
686
fi
687
- [ -z "$skip_all" ] || skip_all=" # SKIP $skip_all"
+ test -z "$skip_all" || skip_all=" # SKIP $skip_all"
688
689
if test $test_external_has_tap -eq 0
690
0 commit comments