Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/agent.bats
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ setup() {
SAMPLE_PID=$!
sleep 2

check_port=$(cat register.port | grep -a 7888)
info register.port: `cat register.port`
check_port=$(cat register.port | grep -a -Z 7888)
info check_port: `echo $check_port`
[ "$check_port" != "" ]

kill -9 $SAMPLE_PID
Expand All @@ -101,7 +103,7 @@ setup() {
[ -e './simple-agent_profile_listen_addr' ]
host=$(cat ./simple-agent_profile_listen_addr)

check_port=$(cat register.port | grep $host)
check_port=$(cat register.port | grep -a -Z $host)
[ "$check_port" != "" ]

kill -9 $SAMPLE_PID
Expand Down