mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
15 lines
255 B
Bash
Executable file
15 lines
255 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PORT=12345
|
|
echo "running hash server on port=$PORT"
|
|
./hash_server.exe -p $PORT &
|
|
if [ "x$?" != x0 ]; then exit 1 ; fi
|
|
|
|
sleep 2
|
|
echo "run hash client -p $PORT $@"
|
|
|
|
export LC_LANG=C
|
|
export LC_ALL=C
|
|
./hash_client.exe -p $PORT $@ | sort
|
|
|
|
kill %1
|