From: Petr Vorel <pvorel@suse.cz>
To: Tim.Bird@sony.com, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2 2/3] tst_test: Print environment variables on -h
Date: Tue, 14 Dec 2021 17:57:55 +0100 [thread overview]
Message-ID: <YbjNExvj1vjnjb93@pevik> (raw)
In-Reply-To: <YbjKkic5F0j4c3bD@pevik>
> Hi Tim,
> > > + fprintf(stderr, "LTP_TIMEOUT_MUL Multiply timeout (must be number >= 1)\n");
> > I think this should this be: "Timeout multiplier (must be a number >=1, should be an integer)
> Also makes sense, thanks!
Although it does not have to be integer.
=> "Timeout multiplier (must be a number >=1"
For C API it's used any value:
./open01
tst_test.c:1409: TINFO: Timeout per run is 0h 05m 00s
LTP_TIMEOUT_MUL=1.15 ./open01
tst_test.c:1409: TINFO: Timeout per run is 0h 05m 45s
For shell API:
./zram02.sh
zram02 1 TINFO: timeout per run is 0h 5m 0s
zram02 1 TINFO: timeout per run is 0h 7m 30s
LTP_TIMEOUT_MUL=1.15 ./zram02.sh
zram02 1 TINFO: ceiling LTP_TIMEOUT_MUL to 2
zram02 1 TINFO: timeout per run is 0h 10m 0s
zram02 1 TINFO: timeout per run is 0h 15m 0s
Doc [1] explain it: Variable is also used in shell tests, but ceiled to int.
Kind regards,
Petr
[1] https://github.com/linux-test-project/ltp/wiki/User-Guidelines
> Kind regards,
> Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2021-12-14 16:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 14:43 [LTP] [PATCH v2 0/3] Add support for debugging .all_filesystems Petr Vorel
2021-12-14 14:43 ` [LTP] [PATCH v2 1/3] lib: Introduce tst_defaults.h Petr Vorel
2021-12-14 14:43 ` [LTP] [PATCH v2 2/3] tst_test: Print environment variables on -h Petr Vorel
2021-12-14 16:44 ` Tim.Bird
2021-12-14 16:47 ` Petr Vorel
2021-12-14 16:57 ` Petr Vorel [this message]
2021-12-14 17:53 ` Tim.Bird
2021-12-14 18:54 ` Petr Vorel
2021-12-15 7:36 ` Li Wang
2021-12-15 9:49 ` Cyril Hrubis
2021-12-14 14:43 ` [LTP] [PATCH v2 3/3] lib: Add support for debugging .all_filesystems Petr Vorel
2021-12-14 16:03 ` Cyril Hrubis
2021-12-14 16:46 ` Petr Vorel
2021-12-15 7:49 ` Li Wang
2021-12-15 9:28 ` Petr Vorel
2021-12-15 9:30 ` Cyril Hrubis
2021-12-15 9:49 ` Li Wang
2021-12-15 9:54 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YbjNExvj1vjnjb93@pevik \
--to=pvorel@suse.cz \
--cc=Tim.Bird@sony.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.