# # patch "ChangeLog" # from [7f843f5c4ff6f9adb675e1a2d724c18c9f44174b] # to [3bdac190035a45f3e913a1a04e2015c86e3dff20] # # patch "tests/t_empty_env.at" # from [e3497f279ffb3eb963d6b92bbfa95fe5783b9d3e] # to [af591814e1d48a9a9a804faef42b81c4c3bc7511] # # patch "tests/t_i18n_file.at" # from [a788a76de1663a1ec1b9ef8d571763ed618f2b88] # to [08e317ebdfee86f4fe7948247ae7412db3edc213] # # patch "tests/t_netsync_sigpipe.at" # from [773f9ac6d0592673c109f68618bcdbf0ff5a17f9] # to [9d0d5c7840b296c26ac941a42df5c8e4056407bb] # # patch "testsuite.at" # from [9e29aa61b0bea500aee16647582329806f19d1e9] # to [a5d2d19404e6806e02418c1d4fad1a511f64ec6b] # ======================================================================== --- ChangeLog 7f843f5c4ff6f9adb675e1a2d724c18c9f44174b +++ ChangeLog 3bdac190035a45f3e913a1a04e2015c86e3dff20 @@ -1,5 +1,11 @@ 2005-11-27 Julio M. Merino Vidal + * testsuite.at, tests/t_empty_env.at, tests/t_i18n_file.at, + tests/t_netsync_sigpipe.at: Do not use shell if's == operator + because it is not portable; use = instead. + +2005-11-27 Julio M. Merino Vidal + * app_state.cc: No need to include headers for chdir() any more. This function was replaced by change_current_working_dir. * monotone.cc: Unconditionally include libintl.h as this file uses ======================================================================== --- tests/t_empty_env.at e3497f279ffb3eb963d6b92bbfa95fe5783b9d3e +++ tests/t_empty_env.at af591814e1d48a9a9a804faef42b81c4c3bc7511 @@ -1,7 +1,7 @@ AT_SETUP([empty environment]) MONOTONE_SETUP -AT_CHECK(if test "$OSTYPE" == "msys"; then +AT_CHECK(if test "$OSTYPE" = "msys"; then cp $(which libiconv-2.dll) . fi) ======================================================================== --- tests/t_i18n_file.at a788a76de1663a1ec1b9ef8d571763ed618f2b88 +++ tests/t_i18n_file.at 08e317ebdfee86f4fe7948247ae7412db3edc213 @@ -10,7 +10,7 @@ JAPANESE_UTF8=`printf "\xE3\x81\xA6\xE3\x81\x99\xE3\x81\xA8"` JAPANESE_EUC_JP=`printf "\xA4\xC6\xA4\xB9\xA4\xC8"` -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then FUNNY_FILENAME="address@hidden" else FUNNY_FILENAME="address@hidden:" ======================================================================== --- tests/t_netsync_sigpipe.at 773f9ac6d0592673c109f68618bcdbf0ff5a17f9 +++ tests/t_netsync_sigpipe.at 9d0d5c7840b296c26ac941a42df5c8e4056407bb @@ -1,10 +1,10 @@ # -*- Autoconf -*- AT_SETUP([netsync is not interrupted by SIGPIPE]) AT_KEYWORDS([netsync]) m4_define([NETSYNC_KILLPIPE], [ -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then echo "No SIGPIPE on MinGW" else kill -PIPE `cat monotone_at.pid` 2>/dev/null ======================================================================== --- testsuite.at 9e29aa61b0bea500aee16647582329806f19d1e9 +++ testsuite.at a5d2d19404e6806e02418c1d4fad1a511f64ec6b @@ -22,7 +22,7 @@ m4_define([BASE_REVISION], [cat MT/revision]) m4_define([WORKING_REVISION], [monotone --norc automate get_revision | monotone --norc identify]) m4_define([CANONICALISE], [ -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then dos2unix -q -o $1 fi ]) @@ -251,7 +251,7 @@ ]) m4_define([NOT_ON_WIN32], [ -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then exit 77 fi ]) @@ -281,7 +281,7 @@ AT_CHECK(echo $UNB64_COMMAND, [], [ignore], [ignore]) ]) m4_define([UNB64], [AT_CHECK( -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then mimencode -u -o $2 $1 else eval $UNB64_COMMAND <$1 >$2 @@ -304,7 +304,7 @@ AT_CHECK(echo $UNGZ_COMMAND, [], [ignore], [ignore]) ]) m4_define([UNGZ], [AT_CHECK( -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then if test "$1" != "$2.gz"; then mv $1 $2.gz fi @@ -358,7 +358,7 @@ if test -e monotone_at.pid; then mt_pid=`cat monotone_at.pid` fi -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then # we can't use MingW's kill because it can't target Win32 pids. pskill=`which pskill` if test $pskill && test -x $pskill; then @@ -381,7 +381,7 @@ if test -e monotone_at.pid; then mt_pid=`cat monotone_at.pid` fi -if test "$OSTYPE" == "msys"; then +if test "$OSTYPE" = "msys"; then # we can't use MingW's kill because it can't target Win32 pids. pskill=`which pskill` if test $pskill && test -x $pskill; then