File: test

package info (click to toggle)
sockperf 3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,912 kB
  • sloc: cpp: 8,092; perl: 7,225; sh: 3,254; makefile: 114; awk: 93
file content (27 lines) | stat: -rw-r--r-- 747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: sockperf/src/sockperf.cpp
===================================================================
--- sockperf.orig/src/sockperf.cpp	2021-08-23 14:57:32.000000000 +0300
+++ sockperf/src/sockperf.cpp	2021-08-23 16:15:05.275432965 +0300
@@ -3450,8 +3450,21 @@
         exit_with_log(SOCKPERF_ERR_FATAL);
     }
     catch (...) {
+	int a = SOCKPERF_ERR_FATAL;
+	//   Comment
+	//   Comment
+	//   Comment
+	//   Comment
+	//   Comment
         printf(MODULE_NAME ": test failed because of an unknown exception \n");
-        exit_with_log(SOCKPERF_ERR_FATAL);
+	//   Comment
+	//   Comment
+	//   Comment
+	//   Comment
+	//   Comment
+	//   Comment
+        //exit_with_log(SOCKPERF_ERR_FATAL);
+        exit_with_log(a);
     }
 
     exit(0);