projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0e072
)
tests: gpioset: test the --sec argument
author
Bartosz Golaszewski
<bartekgola@gmail.com>
Tue, 13 Jun 2017 14:32:40 +0000
(16:32 +0200)
committer
Bartosz Golaszewski
<bartekgola@gmail.com>
Tue, 13 Jun 2017 14:32:40 +0000
(16:32 +0200)
Make sure gpioset understands the --sec argument together
with --mode=time.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/tests-gpioset.c
patch
|
blob
|
history
diff --git
a/tests/tests-gpioset.c
b/tests/tests-gpioset.c
index 013fe421b14b04dd46dd51a76f5a188908e9e91c..7a2405f9b471d8df81f78a3675c4893d0dc6f840 100644
(file)
--- a/
tests/tests-gpioset.c
+++ b/
tests/tests-gpioset.c
@@
-218,7
+218,8
@@
static void gpioset_set_some_lines_and_wait_time(void)
unsigned int offsets[3];
int rv, values[3];
- test_tool_run("gpioset", "--mode=time", "--usec=100000", "gpiochip0",
+ test_tool_run("gpioset", "--mode=time",
+ "--usec=100000", "--sec=0", "gpiochip0",
"1=1", "2=0", "5=1", (char *)NULL);
usleep(200000);
test_tool_wait();