summaryrefslogtreecommitdiffhomepage
path: root/test/lib/gobgp.py
diff options
context:
space:
mode:
authorNasato Goto <7310510@gmail.com>2018-08-21 18:34:07 +0900
committerNasato Goto <7310510@gmail.com>2018-08-21 19:01:25 +0900
commitb45e3fa5885d8c742e07e9f6f054505a3c079cb6 (patch)
treec95e2a6b7e8315f86452f71f937152c269b6e92b /test/lib/gobgp.py
parentd6a5e9f1572aff35d8ab47c896f71c06871c2b15 (diff)
test/lib: Change shell for init script
Change shell of start.sh from /bin/bash to /bin/sh in order to make BusyBox Linux based container available for scenario test.
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r--test/lib/gobgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index 72a9bc2d..bff284d1 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -108,7 +108,7 @@ class GoBGPContainer(BGPContainer):
def _start_gobgp(self, graceful_restart=False):
c = CmdBuffer()
- c << '#!/bin/bash'
+ c << '#!/bin/sh'
c << '/go/bin/gobgpd -f {0}/gobgpd.conf -l {1} -p {2} -t {3} > ' \
'{0}/gobgpd.log 2>&1'.format(self.SHARED_VOLUME, self.log_level, '-r' if graceful_restart else '', self.config_format)