+ rm -f gcode-output
+ TOGO=80
+ '[' 80 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=80
+ nc -z localhost 5007
+ sleep 0.25
+ linuxcnc -r linuxcncrsh-test.ini
application-specific initialization failed: no display name and no $DISPLAY environment variable
+ TOGO=79
+ '[' 79 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=79
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=78
+ '[' 78 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=78
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=77
+ '[' 77 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=77
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=76
+ '[' 76 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=76
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=75
+ '[' 75 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=75
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=74
+ '[' 74 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=74
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=73
+ '[' 73 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=73
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=72
+ '[' 72 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=72
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=71
+ '[' 71 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=71
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=70
+ '[' 70 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=70
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=69
+ '[' 69 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=69
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=68
+ '[' 68 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=68
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=67
+ '[' 67 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=67
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=66
+ '[' 66 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=66
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=65
+ '[' 65 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=65
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=64
+ '[' 64 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=64
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=63
+ '[' 63 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=63
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=62
+ '[' 62 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=62
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=61
+ '[' 61 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=61
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=60
+ '[' 60 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=60
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=59
+ '[' 59 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=59
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=58
+ '[' 58 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=58
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=57
+ '[' 57 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=57
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=56
+ '[' 56 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=56
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=55
+ '[' 55 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=55
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=54
+ '[' 54 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=54
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=53
+ '[' 53 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=53
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=52
+ '[' 52 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=52
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=51
+ '[' 51 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=51
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=50
+ '[' 50 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=50
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=49
+ '[' 49 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=49
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=48
+ '[' 48 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=48
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=47
+ '[' 47 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=47
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=46
+ '[' 46 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=46
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=45
+ '[' 45 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=45
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=44
+ '[' 44 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=44
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=43
+ '[' 43 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=43
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=42
+ '[' 42 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=42
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=41
+ '[' 41 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=41
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=40
+ '[' 40 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=40
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=39
+ '[' 39 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=39
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=38
+ '[' 38 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=38
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=37
+ '[' 37 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=37
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=36
+ '[' 36 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=36
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=35
+ '[' 35 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=35
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=34
+ '[' 34 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=34
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=33
+ '[' 33 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=33
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=32
+ '[' 32 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=32
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=31
+ '[' 31 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=31
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=30
+ '[' 30 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=30
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=29
+ '[' 29 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=29
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=28
+ '[' 28 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=28
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=27
+ '[' 27 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=27
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=26
+ '[' 26 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=26
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=25
+ '[' 25 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=25
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=24
+ '[' 24 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=24
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=23
+ '[' 23 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=23
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=22
+ '[' 22 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=22
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=21
+ '[' 21 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=21
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=20
+ '[' 20 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=20
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=19
+ '[' 19 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=19
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=18
+ '[' 18 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=18
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=17
+ '[' 17 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=17
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=16
+ '[' 16 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=16
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=15
+ '[' 15 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=15
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=14
+ '[' 14 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=14
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=13
+ '[' 13 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=13
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=12
+ '[' 12 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=12
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=11
+ '[' 11 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=11
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=10
+ '[' 10 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=10
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=9
+ '[' 9 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=9
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=8
+ '[' 8 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=8
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=7
+ '[' 7 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=7
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=6
+ '[' 6 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=6
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=5
+ '[' 5 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=5
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=4
+ '[' 4 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=4
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=3
+ '[' 3 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=3
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=2
+ '[' 2 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=2
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=1
+ '[' 1 -gt 0 ']'
+ echo trying to connect to linuxcncrsh TOGO=1
+ nc -z localhost 5007
+ sleep 0.25
+ TOGO=0
+ '[' 0 -gt 0 ']'
+ '[' 0 -eq 0 ']'
+ echo connection to linuxcncrsh timed out
+ exit 1
