moonpool/test/lwt/run_hash.sh
Simon Cruanes a8f874e4ab
test
2024-02-20 20:26:37 -05:00

14 lines
215 B
Bash
Executable file

#!/bin/bash
PORT=1234
./hash_server.exe -p $PORT &
if [ "x$?" != x0 ]; then exit 1 ; fi
sleep 0.9
echo "run hash client -p $PORT $@"
export LC_LANG=C
export LC_ALL=C
./hash_client.exe -p $PORT $@ | sort
kill %1