]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
tests/docker: avoid $SHELL invoke bash directly
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 14 Aug 2019 09:54:26 +0000 (10:54 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 10 Sep 2019 13:14:31 +0000 (14:14 +0100)
commitbf5b512cd416b165a677e47229f8968b461b9004
tree590015ff8f61c529323e2255bd714b905fda3ba1
parent44d5a8bf5d2fcb0e7ba8bf990846401e216d00e5
tests/docker: avoid $SHELL invoke bash directly

On some images SHELL is pointing at a limited /bin/sh which doesn't
understand noprofile/norc. Given the run script is running bash just
invoke it directly.

This fixes:

  $ make docker-test-build@IMAGE DEBUG=1
  [...]
  + echo '  ./test-build'
  ./test-build
  + echo '* Hit Ctrl-D to continue, or type '\''exit 1'\'' to abort'
  * Hit Ctrl-D to continue, or type 'exit 1' to abort
  + echo
  + /bin/sh --noprofile --norc
  /bin/sh: 0: Illegal option --

Fixes: 2b0c4fa13f3
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/docker/run