annotate src/toolcheck @ 22476:b3751f4d3b26 v8.2.1786

patch 8.2.1786: various Normal mode commands not fully tested Commit: https://github.com/vim/vim/commit/8a9bc95eaec53f4e0c951ff8f2686ae5113a5709 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 2 18:48:07 2020 +0200 patch 8.2.1786: various Normal mode commands not fully tested Problem: Various Normal mode commands not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/7059)
author Bram Moolenaar <Bram@vim.org>
date Fri, 02 Oct 2020 19:00:05 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #!/bin/sh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # toolcheck -- check for tools that have severe bugs. Good that all the buggy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 # tools identify by version numbers. This is the spirit of GNU :-)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # 24.7.95 jw.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 retval=0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 reply="`sh -version -c exit 2>&1 < /dev/null`"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 case "$reply" in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 GNU*1.14.3*)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 echo "- sh is '$reply'";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 echo " CAUTION: This shell has a buggy 'trap' command.";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 echo " The configure script may fail silently.";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 retval=1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 GNU*)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 echo "- sh is '$reply' - probably OK.";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 *) ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 esac
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 reply="`sed --version 2>&1 < /dev/null`"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 case "$reply" in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 GNU\ sed\ version\ 2.0[34])
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 echo "- sed is '$reply'";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 echo " CAUTION: This sed cannot configure screen properly."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 retval=1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 GNU\ sed\ version\ 2.05|GNU\ sed\ version\ 2.03\ kevin)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 echo "- sed is '$reply' - good.";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 GNU*) echo "- sed is '$reply'.";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 *) ;;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 esac
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 exit $retval