tcp6-multi-diffnic05 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #!/bin/sh
  2. ################################################################################
  3. ## ##
  4. ## Copyright (c) International Business Machines Corp., 2005 ##
  5. ## ##
  6. ## This program is free software; you can redistribute it and#or modify ##
  7. ## it under the terms of the GNU General Public License as published by ##
  8. ## the Free Software Foundation; either version 2 of the License, or ##
  9. ## (at your option) any later version. ##
  10. ## ##
  11. ## This program is distributed in the hope that it will be useful, but ##
  12. ## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
  13. ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ##
  14. ## for more details. ##
  15. ## ##
  16. ## You should have received a copy of the GNU General Public License ##
  17. ## along with this program; if not, write to the Free Software ##
  18. ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
  19. ## ##
  20. ## ##
  21. ################################################################################
  22. #
  23. # File:
  24. # tcp6-multi-diffnic05
  25. #
  26. # Description:
  27. # Verify that the kernel is not crashed with multiple connection to the
  28. # different NIC with the following condition:
  29. # - The version of IP is IPv6
  30. # - Network is not delayed
  31. # - IPsec(ESP), tunnel mode
  32. #
  33. # Setup:
  34. # See testcases/network/stress/README
  35. #
  36. # Author:
  37. # Mitsuru Chinen <mitch@jp.ibm.com>
  38. #
  39. # History:
  40. # Oct 19 2005 - Created (Mitsuru Chinen)
  41. #
  42. #-----------------------------------------------------------------------
  43. # Uncomment line below for debug output.
  44. #trace_logic=${trace_logic:-"set -x"}
  45. $trace_logic
  46. #
  47. # Variables -- Changed by each multi-diffnic testcase
  48. #
  49. # The test case ID
  50. TCID=tcp6-multi-diffnic05
  51. # The version of IP
  52. IP_VER=6
  53. # true, if network is delayed
  54. DO_NET_DELAY=false
  55. # true, if ipsec is used
  56. DO_IPSEC=true
  57. # IPsec Protocol
  58. IPSEC_PROTO=esp
  59. # IPsec Mode
  60. IPSEC_MODE=tunnel
  61. . tcp4-multi-diffnic01