Browse Source

test: fix test 98 getarg

Fix a mis-replaced comparison.
master
Harald Hoyer 3 years ago committed by Harald Hoyer
parent
commit
5d99b4d0eb
  1. 2
      test/TEST-98-GETARG/test.sh

2
test/TEST-98-GETARG/test.sh

@ -126,7 +126,7 @@ test_run() { @@ -126,7 +126,7 @@ test_run() {
RESULT=("bridge" "val")
(( ${#RESULT[@]} == ${#args[@]} )) || ret=$((ret+1))
for ((i=0; i < ${#RESULT[@]}; i++)); do
[[ ${args[$i]} || "${RESULT[$i]}" ]] || ret=$((ret+1))
[[ ${args[$i]} == "${RESULT[$i]}" ]] || ret=$((ret+1))
done



Loading…
Cancel
Save