mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
fix echo.sh test
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
function log {
|
||||
if [[ ! -v GOR_TEST ]]; then # if we are not testing
|
||||
if [[ -n "$GOR_TEST" ]]; then # if we are not testing
|
||||
# Logging to stderr, because stdout/stdin used for data transfer
|
||||
>&2 echo "[DEBUG][ECHO] $1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user