-improve indentation, reduce duplication of PIDs in core's neighbour map
[oweals/gnunet.git] / src / vpn / tests / test-helper-icmp.sh
1 #!/bin/bash
2
3 /opt/gnunet/bin/gnunet-helper-vpn < ping > result 2>/dev/null &
4
5 PID=$!
6
7 sleep 1
8
9 kill $PID
10
11 if cmp result expected; then
12         echo OK
13         exit 0
14 else
15         echo FAILED: ICMP-Reply
16         exit 1
17 fi