From 4b5b368a7bff1d4126458b8032ec313ec28dd911 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 31 Aug 2013 18:48:30 +1200 Subject: Add Cellocator unit test --- tools/hex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/hex.sh') diff --git a/tools/hex.sh b/tools/hex.sh index 3727b7c3a..9e5dd025d 100755 --- a/tools/hex.sh +++ b/tools/hex.sh @@ -1 +1 @@ -echo 504f5354206d6f6e2f677072732e646c6c3f6461746120485454502f312e310d0a486f73743a2034312e3232362e32372e3231310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f62696e6172790d0a436f6e74656e742d4c656e6774683a203136390d0a0d0a69643d38393730313031303035343831313534393030372662696e3d3105010080ff400fde0a0a0fc9edc712399c3006bd0300be00000031e300022c80000000000cc5000000000000000000007f4fffffffa474ff3aff134346f949b04300ae00000031e300022c80000000000cc5000000000000000000007f4fffffffa474fe3aff0c4346f872104300ae00000031e300022c80000000000cc5000000000000000000007f4fff00504f5354206d6f6e2f677072732e646c6c3f6461746120485454502f312e310d0a486f73743a2034312e3232362e32372e3231310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f62696e6172790d0a436f6e74656e742d4c656e6774683a203136390d0a0d0a69643d38393730313031303035343831313534393030372662696e3d3105010080ff400fde0a0a0fc9edc712399c3006bd0300be00000031e300022c80000000000cc5000000000000000000007f4fffffffa474ff3aff134346f949b04300ae00000031e300022c80000000000cc5000000000000000000007f4fffffffa474fe3aff0c4346f872104300ae00000031e300022c80000000000cc5000000000000000000007f4fff00 | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5026 +echo 4d434750005e930100080102041804000000200f20000000005e7500000000000000000000005af400040204da4da30367195703e8030000000000000000021a111e08dd0760 | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5033 -- cgit v1.2.3