projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tests: fix bad argument parsing in test app
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-events
/
gen-ust-events.c
diff --git
a/tests/utils/testapp/gen-ust-events/gen-ust-events.c
b/tests/utils/testapp/gen-ust-events/gen-ust-events.c
index 5f1e5bdd4e1dec155399fbb38c418ef82f54752d..77d88db2d184c7506f522a06974e975c644b4c4a 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events/gen-ust-events.c
+++ b/
tests/utils/testapp/gen-ust-events/gen-ust-events.c
@@
-60,12
+60,12
@@
int main(int argc, char **argv)
nr_iter = atoi(argv[1]);
}
- if (argc
=
= 3) {
+ if (argc
>
= 3) {
/* By default, don't wait unless user specifies. */
nr_usec = atoi(argv[2]);
}
- if (argc
=
= 4) {
+ if (argc
>
= 4) {
tmp_file_path = argv[3];
}
This page took
0.026107 seconds
and
5
git commands to generate.