projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeaf766
)
test-kdbus: check for EOPNOTSUPP instead of ENOTSUPP
author
John de la Garza
<john@jjdev.com>
Fri, 2 May 2014 21:15:30 +0000
(14:15 -0700)
committer
Daniel Mack
<zonque@gmail.com>
Fri, 2 May 2014 21:40:42 +0000
(23:40 +0200)
Signed-off-by: John de la Garza <john@jjdev.com>
test/test-kdbus.c
patch
|
blob
|
history
diff --git
a/test/test-kdbus.c
b/test/test-kdbus.c
index 6f9b3e9c31642ba193caac77d959df97a49e7ece..e369b4e6b54448ae17d56dfeda8169aeff7d7055 100644
(file)
--- a/
test/test-kdbus.c
+++ b/
test/test-kdbus.c
@@
-411,7
+411,7
@@
static int check_hello(struct kdbus_check_env *env)
/* check faulty flags */
hello.conn_flags = 1ULL << 32;
ret = ioctl(fd, KDBUS_CMD_HELLO, &hello);
- ASSERT_RETURN(ret == -1 && errno ==
524
);
+ ASSERT_RETURN(ret == -1 && errno ==
EOPNOTSUPP
);
hello.conn_flags = KDBUS_HELLO_ACCEPT_FD;