OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f8833
)
gobex: Use zero timeout to make timeout unit tests run faster
author
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 6 Jul 2011 09:06:50 +0000
(12:06 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:22:00 +0000
(22:22 +0100)
unit/test-gobex.c
patch
|
blob
|
history
diff --git
a/unit/test-gobex.c
b/unit/test-gobex.c
index
22c6665
..
c910c50
100644
(file)
--- a/
unit/test-gobex.c
+++ b/
unit/test-gobex.c
@@
-272,12
+272,12
@@
static void test_send_nval_connect_req_short_pkt(void)
static void test_send_connect_req_timeout_stream(void)
{
- send_connect(timeout_rsp, send_nothing,
1
, SOCK_STREAM);
+ send_connect(timeout_rsp, send_nothing,
0
, SOCK_STREAM);
}
static void test_send_connect_req_timeout_pkt(void)
{
- send_connect(timeout_rsp, send_nothing,
1
, SOCK_SEQPACKET);
+ send_connect(timeout_rsp, send_nothing,
0
, SOCK_SEQPACKET);
}
struct req_info {