dfarrell07

52869_shellcheck

Mar 6th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. In include-raw-integration-deploy-openstack-run-test.sh line 642:
  2. for ((inx_ip2=$(($inx_ip1+1));inx_ip2<${#ALL_NODES[@]};inx_ip2++))
  3. ^-- SC2004: $/${} is unnecessary on arithmetic variables.
  4.  
  5.  
  6. In include-raw-integration-deploy-openstack-run-test.sh line 644:
  7. KEY1=0x`dd if=/dev/urandom count=32 bs=1 2> /dev/null| xxd -p -c 64`
  8. ^-- SC2006: Use $(..) instead of legacy `..`.
  9.  
  10.  
  11. In include-raw-integration-deploy-openstack-run-test.sh line 645:
  12. KEY2=0x`dd if=/dev/urandom count=32 bs=1 2> /dev/null| xxd -p -c 64`
  13. ^-- SC2006: Use $(..) instead of legacy `..`.
  14.  
  15.  
  16. In include-raw-integration-deploy-openstack-run-test.sh line 646:
  17. ID=0x`dd if=/dev/urandom count=4 bs=1 2> /dev/null| xxd -p -c 8`
  18. ^-- SC2006: Use $(..) instead of legacy `..`.
  19.  
  20.  
  21. In include-raw-integration-deploy-openstack-run-test.sh line 649:
  22. ${SSH} $ip1 "sudo ip xfrm state add src $ip1 dst $ip2 proto esp spi $ID reqid $ID mode transport auth sha256 $KEY1 enc aes $KEY2"
  23. ^-- SC2086: Double quote to prevent globbing and word splitting.
  24.  
  25.  
  26. In include-raw-integration-deploy-openstack-run-test.sh line 650:
  27. ${SSH} $ip1 "sudo ip xfrm state add src $ip2 dst $ip1 proto esp spi $ID reqid $ID mode transport auth sha256 $KEY1 enc aes $KEY2"
  28. ^-- SC2086: Double quote to prevent globbing and word splitting.
  29.  
  30.  
  31. In include-raw-integration-deploy-openstack-run-test.sh line 651:
  32. ${SSH} $ip1 "sudo ip xfrm policy add src $ip1 dst $ip2 proto udp dir out tmpl src $ip1 dst $ip2 proto esp reqid $ID mode transport"
  33. ^-- SC2086: Double quote to prevent globbing and word splitting.
  34.  
  35.  
  36. In include-raw-integration-deploy-openstack-run-test.sh line 652:
  37. ${SSH} $ip1 "sudo ip xfrm policy add src $ip2 dst $ip1 proto udp dir in tmpl src $ip2 dst $ip1 proto esp reqid $ID mode transport"
  38. ^-- SC2086: Double quote to prevent globbing and word splitting.
  39.  
  40.  
  41. In include-raw-integration-deploy-openstack-run-test.sh line 654:
  42. ${SSH} $ip2 "sudo ip xfrm state add src $ip2 dst $ip1 proto esp spi $ID reqid $ID mode transport auth sha256 $KEY1 enc aes $KEY2"
  43. ^-- SC2086: Double quote to prevent globbing and word splitting.
  44.  
  45.  
  46. In include-raw-integration-deploy-openstack-run-test.sh line 655:
  47. ${SSH} $ip2 "sudo ip xfrm state add src $ip1 dst $ip2 proto esp spi $ID reqid $ID mode transport auth sha256 $KEY1 enc aes $KEY2"
  48. ^-- SC2086: Double quote to prevent globbing and word splitting.
  49.  
  50.  
  51. In include-raw-integration-deploy-openstack-run-test.sh line 656:
  52. ${SSH} $ip2 "sudo ip xfrm policy add src $ip2 dst $ip1 proto udp dir out tmpl src $ip2 dst $ip1 proto esp reqid $ID mode transport"
  53. ^-- SC2086: Double quote to prevent globbing and word splitting.
  54.  
  55.  
  56. In include-raw-integration-deploy-openstack-run-test.sh line 657:
  57. ${SSH} $ip2 "sudo ip xfrm policy add src $ip1 dst $ip2 proto udp dir in tmpl src $ip1 dst $ip2 proto esp reqid $ID mode transport"
  58. ^-- SC2086: Double quote to prevent globbing and word splitting.
  59.  
  60.  
  61. In include-raw-integration-deploy-openstack-run-test.sh line 665:
  62. ${SSH} $ip "sudo ip xfrm policy list"
  63. ^-- SC2086: Double quote to prevent globbing and word splitting.
  64.  
  65.  
  66. In include-raw-integration-deploy-openstack-run-test.sh line 666:
  67. ${SSH} $ip "sudo ip xfrm state list"
  68. ^-- SC2086: Double quote to prevent globbing and word splitting.
Advertisement
Add Comment
Please, Sign In to add comment