projects
/
platform
/
core
/
system
/
dumpsys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71b1b7
)
tests: modify reset_fd_flag_ok
sandbox/dkson95/tests
author
Dongkyun Son
<dongkyun.s@samsung.com>
Thu, 9 Jan 2025 12:27:21 +0000
(21:27 +0900)
committer
Dongkyun Son
<dongkyun.s@samsung.com>
Sat, 29 Mar 2025 07:04:59 +0000
(16:04 +0900)
- Refer :
https://gitlab.com/qemu-project/qemu/-/commit/
741df485e8aec3f509a4e26c975e4cdc94239c88
- Ignore 'reset_fd_flag_ok' tests.
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
tests/unit/test_dumpsys_service.c
patch
|
blob
|
history
diff --git
a/tests/unit/test_dumpsys_service.c
b/tests/unit/test_dumpsys_service.c
index e544ccd18e374148df697fd80f13f35c5ce705a6..e844f246e9972deb70e329b2987bd4219eaea50d 100644
(file)
--- a/
tests/unit/test_dumpsys_service.c
+++ b/
tests/unit/test_dumpsys_service.c
@@
-82,10
+82,10
@@
void reset_fd_flag_ok(void **state)
assert_int_equal(pipe2(pip, O_NONBLOCK), 0);
flags = fcntl(pip[0], F_GETFL);
- assert_int_equal(flags, O_NONBLOCK);
+ assert_int_equal(flags, O_NONBLOCK
|0x0/*O_LARGEFILE*/
);
assert_true(reset_fd_flag(pip[0], O_NONBLOCK));
flags = fcntl(pip[0], F_GETFL);
- assert_int_equal(flags, 0);
+ assert_int_equal(flags, 0
|0x0/*O_LARGEFILE*/
);
}
void reset_fd_flag_fail1(void **state)