Skip to contentSkip to conversation

doc/user-guide: LTP_RUNTIME_MUL is only for C API

PATCH Superseded Petr Vorel 2 participants 3 messages Sep 12, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 doc/user-guide: LTP_RUNTIME_MUL is only for C API

Not yet implemented in shell API.
+ fix indent.

Fixes 0f72d519a ("Introduce a concept of max runtime")
---
 doc/user-guide.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/user-guide.txt +2 -2
index 0dc0c958e..fdd74ca41 100644
@@ -27,8 +27,8 @@ For running LTP network tests see `testcases/network/README.md`.
                           Variable is also used in shell tests, but ceiled to int.
 | 'LTP_RUNTIME_MUL'     | Multiplies maximal test iteration runtime. Tests
                           that run for more than a second or two are capped on
-			  runtime. You can scale the default runtime both up
-			  and down with this multiplier.
+                          runtime. You can scale the default runtime both up
+                          and down with this multiplier. NOTE: only for C API.
 | 'LTP_VIRT_OVERRIDE'   | Overrides virtual machine detection in the test
                           library. Setting it to empty string tell the library
                           that system is not a virtual machine. Other possible
Signature · 5 lines
2.37.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi!

Quoted 4 lines

Not yet implemented in shell API.
+ fix indent.

Fixes 0f72d519a ("Introduce a concept of max runtime")

Should we rather then add "Not yet implemented" instead of "only for C API" to the actual documentation too?

Quoted 23 lines
---
 doc/user-guide.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/user-guide.txt +2 -2
index 0dc0c958e..fdd74ca41 100644
@@ -27,8 +27,8 @@ For running LTP network tests see `testcases/network/README.md`.
                           Variable is also used in shell tests, but ceiled to int.
 | 'LTP_RUNTIME_MUL'     | Multiplies maximal test iteration runtime. Tests
                           that run for more than a second or two are capped on
-			  runtime. You can scale the default runtime both up
-			  and down with this multiplier.
+                          runtime. You can scale the default runtime both up
+                          and down with this multiplier. NOTE: only for C API.
 | 'LTP_VIRT_OVERRIDE'   | Overrides virtual machine detection in the test
                           library. Setting it to empty string tell the library
                           that system is not a virtual machine. Other possible
Signature · 1 line
2.37.3
Signature · 5 lines
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#2 lore raw
Quoted 8 lines

Hi!

Quoted 4 lines

Not yet implemented in shell API.
+ fix indent.

Fixes 0f72d519a ("Introduce a concept of max runtime")

Should we rather then add "Not yet implemented" instead of "only for C API" to the actual documentation too?

Sure, no problem.

Kind regards,
Petr

Quoted 22 lines
Quoted 22 lines
---
 doc/user-guide.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/user-guide.txt +2 -2
index 0dc0c958e..fdd74ca41 100644
@@ -27,8 +27,8 @@ For running LTP network tests see `testcases/network/README.md`.
                           Variable is also used in shell tests, but ceiled to int.
 | 'LTP_RUNTIME_MUL'     | Multiplies maximal test iteration runtime. Tests
                           that run for more than a second or two are capped on
-			  runtime. You can scale the default runtime both up
-			  and down with this multiplier.
+                          runtime. You can scale the default runtime both up
+                          and down with this multiplier. NOTE: only for C API.
 | 'LTP_VIRT_OVERRIDE'   | Overrides virtual machine detection in the test
                           library. Setting it to empty string tell the library
                           that system is not a virtual machine. Other possible
Signature · 1 line
2.37.3
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp