diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-15 18:17:36 +0200 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-15 18:17:36 +0200 |
| commit | 4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2 (patch) | |
| tree | de7e745ae5a8c81caa7c9f41be56a0747b4f106c /lib/tests/test_tcp.c | |
| parent | b1801c10846283176622db21974fe5003602630d (diff) | |
| download | monitoring-plugins-4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2.tar.gz | |
Whitespace fixes in lib
Diffstat (limited to 'lib/tests/test_tcp.c')
| -rw-r--r-- | lib/tests/test_tcp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/tests/test_tcp.c b/lib/tests/test_tcp.c index 114252b4..1954b0fb 100644 --- a/lib/tests/test_tcp.c +++ b/lib/tests/test_tcp.c | |||
| @@ -1,19 +1,19 @@ | |||
| 1 | /***************************************************************************** | 1 | /***************************************************************************** |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | * the Free Software Foundation, either version 3 of the License, or | 5 | * the Free Software Foundation, either version 3 of the License, or |
| 6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
| 7 | * | 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
| 12 | * | 12 | * |
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | * | 15 | * |
| 16 | * | 16 | * |
| 17 | *****************************************************************************/ | 17 | *****************************************************************************/ |
| 18 | 18 | ||
| 19 | #include "common.h" | 19 | #include "common.h" |
| @@ -33,7 +33,7 @@ main(void) | |||
| 33 | server_expect[0] = strdup("AA"); | 33 | server_expect[0] = strdup("AA"); |
| 34 | server_expect[1] = strdup("bb"); | 34 | server_expect[1] = strdup("bb"); |
| 35 | server_expect[2] = strdup("CC"); | 35 | server_expect[2] = strdup("CC"); |
| 36 | 36 | ||
| 37 | ok(np_expect_match("AA bb CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_SUCCESS, | 37 | ok(np_expect_match("AA bb CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_SUCCESS, |
| 38 | "Test matching any string at the beginning (first expect string)"); | 38 | "Test matching any string at the beginning (first expect string)"); |
| 39 | ok(np_expect_match("bb AA CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_SUCCESS, | 39 | ok(np_expect_match("bb AA CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_SUCCESS, |
| @@ -52,7 +52,7 @@ main(void) | |||
| 52 | "Test not matching all strings"); | 52 | "Test not matching all strings"); |
| 53 | ok(np_expect_match("XX XX", server_expect, server_expect_count, NP_MATCH_ALL) == NP_MATCH_RETRY, | 53 | ok(np_expect_match("XX XX", server_expect, server_expect_count, NP_MATCH_ALL) == NP_MATCH_RETRY, |
| 54 | "Test not matching any string (testing all)"); | 54 | "Test not matching any string (testing all)"); |
| 55 | 55 | ||
| 56 | 56 | ||
| 57 | return exit_status(); | 57 | return exit_status(); |
| 58 | } | 58 | } |
