summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/lib/bird.py2
-rw-r--r--test/lib/gobgp.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/bird.py b/test/lib/bird.py
index 1207e335..9f210bcf 100644
--- a/test/lib/bird.py
+++ b/test/lib/bird.py
@@ -41,7 +41,7 @@ class BirdContainer(BGPContainer):
def _start_bird(self):
c = CmdBuffer()
- c << '#!/bin/bash'
+ c << '#!/bin/sh'
c << 'bird'
cmd = 'echo "{0:s}" > {1}/start.sh'.format(c, self.config_dir)
local(cmd)
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)