comparison runtime/syntax/testdir/input/sh_01.sh @ 32649:ae505eaf2794 v9.0.1656

patch 9.0.1656: syntax test fails when detected shell type differs Commit: https://github.com/vim/vim/commit/7d0dbd0070fd8ed86b08f81f6acfad9a5fe55672 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 24 00:56:50 2023 +0100 patch 9.0.1656: syntax test fails when detected shell type differs Problem: Syntax test fails when detected shell type differs. Solution: Avoid using "/bin/sh", it depends on the system. Add a check that the shell type detection is correct.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Jun 2023 02:00:03 +0200
parents f8a2fc7d823f
children 448aef880252
comparison
equal deleted inserted replaced
32648:b2a8dc55e3f2 32649:ae505eaf2794
1 #! /bin/sh 1 #! /bin/dash
2 export `echo 'A=B'` 2 export `echo 'A=B'`
3 printenv A 3 printenv A
4 echo a `#foo` b 4 echo a `#foo` b