Remove extraneous OR operators in tc-tests-utils.sh

Fixes:

+ '[' -o 16k = 8k ']'
/home/build-user/DeepSpeech/ds/taskcluster/tc-tests-utils.sh: line 262: [: too many arguments
This commit is contained in:
Reuben Morais 2020-02-06 18:06:10 +01:00
parent 33efd9b7ff
commit a3ce59de58

View File

@ -259,7 +259,7 @@ assert_correct_ldc93s1_prodmodel()
assert_correct_inference "$1" "she had reduce and greasy wash water all year" "$2"
fi;
if [ -o "$3" = "8k" ]; then
if [ "$3" = "8k" ]; then
assert_correct_inference "$1" "she had conduct suit in greasy wash water all year" "$2"
fi;
}
@ -270,7 +270,7 @@ assert_correct_ldc93s1_prodtflitemodel()
assert_correct_inference "$1" "she had i do utterly was or all year" "$2"
fi;
if [ -o "$3" = "8k" ]; then
if [ "$3" = "8k" ]; then
assert_correct_inference "$1" "she had conduct suit in greasy wash water all year" "$2"
fi;
}
@ -281,7 +281,7 @@ assert_correct_ldc93s1_prodmodel_stereo_44k()
assert_correct_inference "$1" "she had reduce and greasy wash water all year" "$2"
fi;
if [ -o "$3" = "8k" ]; then
if [ "$3" = "8k" ]; then
assert_correct_inference "$1" "she had conduct suit in greasy wash water all year" "$2"
fi;
}
@ -292,7 +292,7 @@ assert_correct_ldc93s1_prodtflitemodel_stereo_44k()
assert_correct_inference "$1" "she headed grey was or all year" "$2"
fi;
if [ -o "$3" = "8k" ]; then
if [ "$3" = "8k" ]; then
assert_correct_inference "$1" "she had conduct suit in greasy wash water all year" "$2"
fi;
}