From: Alexey Kodanev <alexey.kodanev@oracle.com>
To: ltp@lists.linux.it
Subject: [LTP] [RFC PATCH 1/2] network/ipsec: Add trap to INT and require root
Date: Thu, 7 Dec 2017 14:25:45 +0300 [thread overview]
Message-ID: <91d018e3-744f-ec0d-114a-05871d3a1205@oracle.com> (raw)
In-Reply-To: <20171206144214.27317-1-pvorel@suse.cz>
On 12/06/2017 05:42 PM, Petr Vorel wrote:
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> testcases/network/stress/ipsec/ipsec_lib.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/testcases/network/stress/ipsec/ipsec_lib.sh b/testcases/network/stress/ipsec/ipsec_lib.sh
> index cee755fe0..5cc2c9a45 100644
> --- a/testcases/network/stress/ipsec/ipsec_lib.sh
> +++ b/testcases/network/stress/ipsec/ipsec_lib.sh
> @@ -21,6 +21,9 @@
>
> . test_net.sh
>
> +tst_require_root
> +trap "tst_brkm TBROK 'test interrupted'" INT
Could we add it to test_net.sh?
$ grep 'trap "' . -r
./busy_poll/busy_poll03.sh:trap "tst_brkm TBROK 'test interrupted'" INT
./busy_poll/busy_poll01.sh:trap "tst_brkm TBROK 'test interrupted'" INT
./busy_poll/busy_poll02.sh:trap "tst_brkm TBROK 'test interrupted'" INT
./stress/ns-tools/test_net_stress.sh: trap "tst_brkm TBROK 'test interrupted'" INT
./stress/ssh/ssh-stress: trap "tst_brkm TBROK 'test interrupted'" INT
./stress/ftp/ftp-upload-stress: trap "tst_brkm TBROK 'test interrupted'" INT
./stress/ftp/ftp-download-stress: trap "tst_brkm TBROK 'test interrupted'" INT
./stress/interface/if4-addr-change:trap "tst_brkm TBROK 'test interrupted'" INT
./stress/http/http-stress: trap "tst_brkm TBROK 'test interrupted'" INT
./stress/dns/dns-stress: trap "tst_brkm TBROK 'test interrupted'" INT
./dhcp/dhcp_lib.sh:trap "tst_brkm TBROK 'test interrupted'" INT
./virt/virt_lib.sh:trap "tst_brkm TBROK 'test interrupted'" INT
./tcp_fastopen/tcp_fastopen_run.sh:trap "tst_brkm TBROK 'test interrupted'" INT
Thanks,
Alexey
> +
> # Authenticated encryption with associated data
> AEALGO="rfc4106_128"
> # Encryption algorithm
next prev parent reply other threads:[~2017-12-07 11:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 14:42 [LTP] [RFC PATCH 1/2] network/ipsec: Add trap to INT and require root Petr Vorel
2017-12-06 14:42 ` [LTP] [RFC PATCH 2/2] lib/test_net.sh: Check for ip command Petr Vorel
2017-12-07 11:52 ` Alexey Kodanev
2017-12-07 11:25 ` Alexey Kodanev [this message]
2017-12-07 12:18 ` [LTP] [RFC PATCH 1/2] network/ipsec: Add trap to INT and require root Petr Vorel
2017-12-11 12:23 ` Cyril Hrubis
2017-12-11 14:36 ` 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=91d018e3-744f-ec0d-114a-05871d3a1205@oracle.com \
--to=alexey.kodanev@oracle.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.