gsup_test: also check stderr

Configure logging to be deterministic and add stderr checking to testuite.at.

However, exclude the thousands of message modification log lines from the log
to not have a huge test expectation file.

Change-Id: I0dd7112967a64a168556b62e5ec15107b7608ffb
diff --git a/tests/gsup/gsup_test.err b/tests/gsup/gsup_test.err
new file mode 100644
index 0000000..6cd8627
--- /dev/null
+++ b/tests/gsup/gsup_test.err
@@ -0,0 +1,71 @@
+  generated message: 08 01 08 21 43 65 87 09 21 43 f5 
+  original message:  08 01 08 21 43 65 87 09 21 43 f5 
+  IMSI:              123456789012345
+  generated message: 09 01 08 21 43 65 87 09 21 43 f5 02 01 07 
+  original message:  09 01 08 21 43 65 87 09 21 43 f5 02 01 07 
+  IMSI:              123456789012345
+  generated message: 0a 01 08 21 43 65 87 09 21 43 f5 03 22 20 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 21 04 21 22 23 24 22 08 31 32 33 34 35 36 37 38 03 22 20 10 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 90 21 04 a1 a2 a3 a4 22 08 b1 b2 b3 b4 b5 b6 b7 b8 
+  original message:  0a 01 08 21 43 65 87 09 21 43 f5 03 22 20 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 21 04 21 22 23 24 22 08 31 32 33 34 35 36 37 38 03 22 20 10 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 90 21 04 a1 a2 a3 a4 22 08 b1 b2 b3 b4 b5 b6 b7 b8 
+  IMSI:              123456789012345
+  generated message: 04 01 08 21 43 65 87 09 21 43 f5 
+  original message:  04 01 08 21 43 65 87 09 21 43 f5 
+  IMSI:              123456789012345
+  generated message: 05 01 08 21 43 65 87 09 21 43 f5 02 01 07 
+  original message:  05 01 08 21 43 65 87 09 21 43 f5 02 01 07 
+  IMSI:              123456789012345
+  generated message: 06 01 08 21 43 65 87 09 21 43 f5 08 07 91 94 61 46 32 24 43 09 07 91 83 52 38 48 83 93 04 00 05 15 10 01 01 11 02 f1 21 12 09 04 74 65 73 74 03 61 70 6e 13 01 02 05 11 10 01 02 11 02 f1 21 12 08 03 66 6f 6f 03 61 70 6e 
+  original message:  06 01 08 21 43 65 87 09 21 43 f5 08 07 91 94 61 46 32 24 43 09 07 91 83 52 38 48 83 93 04 00 05 15 10 01 01 11 02 f1 21 12 09 04 74 65 73 74 03 61 70 6e 13 01 02 05 11 10 01 02 11 02 f1 21 12 08 03 66 6f 6f 03 61 70 6e 
+  IMSI:              123456789012345
+  generated message: 1c 01 08 21 43 65 87 09 21 43 f5 06 01 00 
+  original message:  1c 01 08 21 43 65 87 09 21 43 f5 06 01 00 
+  IMSI:              123456789012345
+  generated message: 1d 01 08 21 43 65 87 09 21 43 f5 02 01 03 
+  original message:  1d 01 08 21 43 65 87 09 21 43 f5 02 01 03 
+  IMSI:              123456789012345
+  generated message: 1e 01 08 21 43 65 87 09 21 43 f5 
+  original message:  1e 01 08 21 43 65 87 09 21 43 f5 
+  IMSI:              123456789012345
+  generated message: 0c 01 08 21 43 65 87 09 21 43 f5 
+  original message:  0c 01 08 21 43 65 87 09 21 43 f5 
+  IMSI:              123456789012345
+  generated message: 0d 01 08 21 43 65 87 09 21 43 f5 02 01 03 
+  original message:  0d 01 08 21 43 65 87 09 21 43 f5 02 01 03 
+  IMSI:              123456789012345
+  generated message: 0e 01 08 21 43 65 87 09 21 43 f5 07 00 
+  original message:  0e 01 08 21 43 65 87 09 21 43 f5 07 00 
+  IMSI:              123456789012345
+  generated message: 0a 01 08 21 43 65 87 09 21 43 f5 03 62 20 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 21 04 21 22 23 24 22 08 31 32 33 34 35 36 37 38 23 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 24 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 25 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 27 08 01 02 03 04 05 06 07 08 03 62 20 10 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af 10 21 04 b1 b2 b3 b4 22 08 c1 c2 c3 c4 c5 c6 c7 c8 23 10 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df d0 24 10 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef e0 25 10 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff f0 27 08 91 92 93 94 95 96 97 98 
+  original message:  0a 01 08 21 43 65 87 09 21 43 f5 03 62 20 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 21 04 21 22 23 24 22 08 31 32 33 34 35 36 37 38 23 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 24 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 25 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 27 08 01 02 03 04 05 06 07 08 03 62 20 10 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af 10 21 04 b1 b2 b3 b4 22 08 c1 c2 c3 c4 c5 c6 c7 c8 23 10 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df d0 24 10 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef e0 25 10 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff f0 27 08 91 92 93 94 95 96 97 98 
+  IMSI:              123456789012345
+  generated message: 08 01 08 21 43 65 87 09 21 43 f5 26 0e 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 20 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 
+  original message:  08 01 08 21 43 65 87 09 21 43 f5 26 0e 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 20 10 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 
+  IMSI:              123456789012345
+  message 0: tested 11 truncations, 11 parse failures
+  message 1: tested 14 truncations, 13 parse failures
+  message 2: tested 83 truncations, 81 parse failures
+  message 3: tested 11 truncations, 11 parse failures
+  message 4: tested 14 truncations, 13 parse failures
+  message 5: tested 73 truncations, 68 parse failures
+  message 6: tested 14 truncations, 13 parse failures
+  message 7: tested 14 truncations, 13 parse failures
+  message 8: tested 11 truncations, 11 parse failures
+  message 9: tested 11 truncations, 11 parse failures
+  message 10: tested 14 truncations, 13 parse failures
+  message 11: tested 13 truncations, 12 parse failures
+  message 12: tested 211 truncations, 209 parse failures
+  message 13: tested 45 truncations, 43 parse failures
+DLGSUP Stopping DLGSUP logging
+  message 0: tested 2816 modifications, 510 parse failures
+  message 1: tested 3584 modifications, 768 parse failures
+  message 2: tested 21248 modifications, 2571 parse failures
+  message 3: tested 2816 modifications, 510 parse failures
+  message 4: tested 3584 modifications, 768 parse failures
+  message 5: tested 18688 modifications, 3505 parse failures
+  message 6: tested 3584 modifications, 769 parse failures
+  message 7: tested 3584 modifications, 768 parse failures
+  message 8: tested 2816 modifications, 510 parse failures
+  message 9: tested 2816 modifications, 510 parse failures
+  message 10: tested 3584 modifications, 768 parse failures
+  message 11: tested 3328 modifications, 767 parse failures
+  message 12: tested 54016 modifications, 4622 parse failures
+  message 13: tested 11520 modifications, 1026 parse failures