[libsoup/autobahn-integration-new: 40/41] autobahn-test.c: Autobahn tests go from 1 to num_cases
- From: Diego Pino <dpino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/autobahn-integration-new: 40/41] autobahn-test.c: Autobahn tests go from 1 to num_cases
- Date: Thu, 11 Mar 2021 02:13:03 +0000 (UTC)
commit 8d810505d4b09dec52e95c8ff39b37b0e41bbde0
Author: Diego Pino Garcia <dpino igalia com>
Date: Thu Feb 25 13:53:42 2021 +0000
autobahn-test.c: Autobahn tests go from 1 to num_cases
tests/autobahn/autobahn-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/autobahn/autobahn-test.c b/tests/autobahn/autobahn-test.c
index ebbef4e0..b782eeb0 100644
--- a/tests/autobahn/autobahn-test.c
+++ b/tests/autobahn/autobahn-test.c
@@ -242,7 +242,7 @@ int main (int argc, char *argv[])
session = soup_session_new ();
soup_session_add_feature_by_type (session, SOUP_TYPE_WEBSOCKET_EXTENSION_MANAGER);
- for (int i = 0; i < num_cases; i++) {
+ for (int i = 1; i <= num_cases; i++) {
char *test_path = g_strdup_printf ("/autobahn/%u", i);
TestBundle *bundle = g_new0 (TestBundle, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]