Skip to content

Commit

Permalink
테스트 클라이언트 로그를 기록하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
haelime committed Mar 23, 2024
1 parent 93d82b7 commit 509aa40
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ SERVER_PORT="6667"
printf "%s\r\n" "${TEST[$i]}"
sleep 1
done
) | nc $SERVER_IP $SERVER_PORT
) | nc $SERVER_IP $SERVER_PORT | cat > testClient.log

printf "\n"
printf "Test Client Log\n"
printf "======================================\n"
cat testClient.log
printf "======================================\n"

# 서버 종료 확인
if pgrep -x "ircserv" > /dev/null
then
echo "IRC Running Successfully"
echo "IRC Tested Successfully"
pkill -x ircserv
exit 0
else
Expand Down

0 comments on commit 509aa40

Please sign in to comment.