From b45e3fa5885d8c742e07e9f6f054505a3c079cb6 Mon Sep 17 00:00:00 2001 From: Nasato Goto <7310510@gmail.com> Date: Tue, 21 Aug 2018 18:34:07 +0900 Subject: 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. --- test/lib/gobgp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib/gobgp.py') 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) -- cgit v1.2.3