Added all of the existing code
This commit is contained in:
23
test_cap_list.sh
Normal file
23
test_cap_list.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Test script to verify CAP LIST functionality
|
||||
echo "Testing CAP LIST functionality..."
|
||||
|
||||
# Connect to server and test CAP negotiation + LIST
|
||||
{
|
||||
echo "CAP LS"
|
||||
sleep 0.1
|
||||
echo "CAP REQ :away-notify chghost multi-prefix"
|
||||
sleep 0.1
|
||||
echo "CAP LIST"
|
||||
sleep 0.1
|
||||
echo "CAP END"
|
||||
sleep 0.1
|
||||
echo "NICK TestUser"
|
||||
sleep 0.1
|
||||
echo "USER test 0 * :Test User"
|
||||
sleep 0.1
|
||||
echo "CAP LIST"
|
||||
sleep 0.1
|
||||
echo "QUIT :Testing complete"
|
||||
} | telnet localhost 6667
|
||||
Reference in New Issue
Block a user