[LTP] [RFC PATCH 1/2] network/ipsec: Add trap to INT and require root
Petr Vorel
pvorel@suse.cz
Thu Dec 7 13:18:19 CET 2017
Hi Alexey,
> > +trap "tst_brkm TBROK 'test interrupted'" INT
> Could we add it to test_net.sh?
Sure. I was even thinking about giving it into test_net.sh and test.sh (i.e. making it the
default settings), but that's maybe too aggressive.
> $ 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
Kind regards,
Petr
More information about the ltp
mailing list