Files: fb6db7d0171f85ee76abb0f0ee5f1827c5eec31e / test.sh
340 bytesRaw
1 | |
2 | |
3 | nc6 -l -p 9898 <<EOF | diff -u - /dev/fd/3 3<<EOF3 & |
4 | {"jsonrpc": "2.0", "result": {"confirmed": 0, "unconfirmed": 0}, "id": 0} |
5 | EOF |
6 | {"id":0,"method":"foo","params":"bar"} |
7 | EOF3 |
8 | sleep 0.1 |
9 | ./electrumc ::1:9898:t foo \"bar\" | diff -u - /dev/fd/3 3<<EOF3 |
10 | {"jsonrpc": "2.0", "result": {"confirmed": 0, "unconfirmed": 0}, "id": 0} |
11 | EOF3 |
12 |
Built with git-ssb-web