[libsoup/autobahn-integration-new: 21/23] 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: 21/23] autobahn-test.c: Autobahn tests go from 1 to num_cases
- Date: Mon, 15 Mar 2021 14:19:19 +0000 (UTC)
commit 27d98dfc24bc891fec9bdc97a2983878d527aa5c
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]