core: add all the required files

This commit is contained in:
mkurkar
2026-11-04 16:42:12 +03:00 Unverified
commit 29324ac2ea
57 changed files with 57688 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# usage: bash test_eof.sh <port>
# Sends eof_test one word at a time (with a literal ^D inside) on one connection.
PORT=$1
send_msg()
{
exec 3<>"/dev/tcp/127.0.0.1/$PORT" || return 1
cat >&3
exec 3>&-
}
for x in $(cat eof_test); do
printf "$x"
sleep 0.1
done | send_msg