Commit 4e44ffd37e9d6611b8f24d6c9fb56e98b8cf7b06

Authored by Jürgen Knödlseder
1 parent f114f0bd

Changed debugging statement

Showing 1 changed file with 5 additions and 5 deletions
test/test_GVO.cpp
... ... @@ -91,7 +91,7 @@ void TestGVO::test_GVOHub(void)
91 91 // Declare thread
92 92 pthread_t thread;
93 93 std::cout << "\n*** Before start of thread ***" << std::endl;
94   -system("netstat -natp tcp");
  94 +system("netstat -npta");
95 95  
96 96 // Start Hub in a thread
97 97 test_try("Start hub");
... ... @@ -103,7 +103,7 @@ system(&quot;netstat -natp tcp&quot;);
103 103 test_try_failure(e);
104 104 }
105 105 std::cout << "\n*** After start of thread ***" << std::endl;
106   -system("netstat -natp tcp");
  106 +system("netstat -npta");
107 107  
108 108 // Test Hub connection
109 109 GVOClient client;
... ... @@ -127,7 +127,7 @@ system(&quot;netstat -natp tcp&quot;);
127 127 pthread_cancel(thread);
128 128 sleep(1);
129 129 std::cout << "\n*** After thread canel ***" << std::endl;
130   -system("netstat -natp tcp");
  130 +system("netstat -npta");
131 131  
132 132 // Return
133 133 return;
... ... @@ -151,7 +151,7 @@ void TestGVO::test_GVOClient(void)
151 151 }
152 152  
153 153 std::cout << "\n*** Before client connect ***" << std::endl;
154   -system("netstat -natp tcp");
  154 +system("netstat -npta");
155 155 // Create client
156 156 GVOClient client;
157 157  
... ... @@ -160,7 +160,7 @@ system(&quot;netstat -natp tcp&quot;);
160 160 test_assert(client.is_connected(), "Check for connection.");
161 161 //std::cout << client << std::endl;
162 162 std::cout << "\n*** After client connect ***" << std::endl;
163   -system("netstat -natp tcp");
  163 +system("netstat -npta");
164 164  
165 165 // Test ping
166 166 test_assert(client.ping_hub(), "Ping Hub.");
... ...