From: Petr Vorel <pvorel@suse.cz>
To: lufei <lufei@uniontech.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] Rewrite logrotate case with using `tst_test.sh`
Date: Wed, 13 Mar 2024 22:03:32 +0100 [thread overview]
Message-ID: <20240313210332.GA605403@pevik> (raw)
In-Reply-To: <20240305020247.1727828-1-lufei@uniontech.com>
Hi,
> 1. Rewrite case with using `tst_test.sh`
> 2. Enable steps in test#2 in old case (`test02` not called in old
> code).
Thanks a lot, merged with some style cleanup + follow up simplification.
NOTE: I realized for running less than 1 min we would have to define more rows +
sleep, e.g. for each 10 sec:
("* * * * * $(command -v logrotate) $(pwd)/tst_largelog.conf")
("* * * * * (sleep 10; $(command -v logrotate) $(pwd)/tst_largelog.conf)")
("* * * * * (sleep 20; $(command -v logrotate) $(pwd)/tst_largelog.conf)")
("* * * * * (sleep 30; $(command -v logrotate) $(pwd)/tst_largelog.conf)")
("* * * * * (sleep 40; $(command -v logrotate) $(pwd)/tst_largelog.conf)")
("* * * * * (sleep 50; $(command -v logrotate) $(pwd)/tst_largelog.conf)")
But I guess first min would still be waiting, thus not implementing it.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-03-13 21:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-05 2:02 [LTP] [PATCH] Rewrite logrotate case with using `tst_test.sh` lufei
2024-03-13 21:03 ` Petr Vorel [this message]
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=20240313210332.GA605403@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=lufei@uniontech.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox