comparison runtime/syntax/testdir/input/sh_07.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 # Test file to test 'for do done' loops. 2 # Test file to test 'for do done' loops.
3 # You can start this script like: $0 {-ne -gt -le ...} (all numeric operators 3 # You can start this script like: $0 {-ne -gt -le ...} (all numeric operators
4 # are allowed! 4 # are allowed!
5 5
6 # All this works and should be OK 6 # All this works and should be OK