@@ -18,22 +18,22 @@ function check_fluvio_bin_path() {
1818
1919 if [[ -n $FLUVIO_BIN ]]; then
2020 if [[ -n $DEBUG ]]; then
21- echo " # DEBUG: found: FLUVIO_BIN was defined" >&3
21+ echo " # DEBUG: found: FLUVIO_BIN was defined"
2222 fi
2323 _set_fluvio_bin_path_then_exit " $FLUVIO_BIN " ;
2424 elif which fluvio; then
2525 if [[ -n $DEBUG ]]; then
26- echo " # DEBUG: found: fluvio in PATH" >&3
26+ echo " # DEBUG: found: fluvio in PATH"
2727 fi
2828 _set_fluvio_bin_path_then_exit " $( which fluvio) " ;
2929 elif test -f " $( pwd) /fluvio" ; then
3030 if [[ -n $DEBUG ]]; then
31- echo " # DEBUG: found: fluvio in current directory" >&3
31+ echo " # DEBUG: found: fluvio in current directory"
3232 fi
3333 _set_fluvio_bin_path_then_exit " $( pwd) /fluvio" ;
3434 elif test -f " $HOME /.fluvio/bin/fluvio" ; then
3535 if [[ -n $DEBUG ]]; then
36- echo " # DEBUG: found: fluvio in home directory" >&3
36+ echo " # DEBUG: found: fluvio in home directory"
3737 fi
3838 _set_fluvio_bin_path_then_exit " $HOME /.fluvio/bin/fluvio" ;
3939 fi
@@ -43,7 +43,7 @@ function _set_fluvio_bin_path_then_exit() {
4343 FLUVIO_BIN=$1
4444 export FLUVIO_BIN
4545 if [[ -n $DEBUG ]]; then
46- echo " # DEBUG: Fluvio binary path: $FLUVIO_BIN " >&3
46+ echo " # DEBUG: Fluvio binary path: $FLUVIO_BIN "
4747 fi
4848
4949}
@@ -61,12 +61,12 @@ function check_load_bats_libraries() {
6161 # If not there, try to clone it into place
6262
6363 if ! test -d " $TEST_HELPER_DIR /bats-support" ; then
64- echo " # Installing bats-support in $TEST_HELPER_DIR " >&3
64+ echo " # Installing bats-support in $TEST_HELPER_DIR "
6565 git clone https://github.com/bats-core/bats-support " $TEST_HELPER_DIR /bats-support"
6666 fi
6767
6868 if ! test -d " $TEST_HELPER_DIR /bats-assert" ; then
69- echo " # Installing bats-assert in $TEST_HELPER_DIR " >&3
69+ echo " # Installing bats-assert in $TEST_HELPER_DIR "
7070 git clone https://github.com/bats-core/bats-assert " $TEST_HELPER_DIR /bats-assert"
7171 fi
7272}
@@ -76,7 +76,7 @@ function check_timeout_bin() {
7676 echo " # \` timeout\` not in PATH" >&3
7777
7878 if [[ $( uname) == " Darwin" ]]; then
79- echo " # run \` brew install coreutils\` to install" >&3
79+ echo " # run \` brew install coreutils\` to install"
8080 fi
8181
8282 false
@@ -89,7 +89,7 @@ function wait_for_line_in_file() {
8989 MAX_SECONDS=" ${3:- 30} " # 30 seconds default value
9090
9191 echo " Waiting for file $FILE containing $LINE "
92-
92+
9393 ELAPSED=0;
9494 until grep -q " $LINE " " $FILE "
9595 do
@@ -99,7 +99,7 @@ function wait_for_line_in_file() {
9999 then
100100 echo " timeout $MAX_SECONDS seconds elapsed"
101101 exit 1
102- fi
102+ fi
103103 done
104104 echo " Done waiting for file $FILE containing $LINE "
105105}
0 commit comments