From cc4d56dec1f8dba1fd38c331567dfee22d85e6bb Mon Sep 17 00:00:00 2001 From: clanmills Date: Thu, 14 May 2020 21:04:38 +0100 Subject: [PATCH] Change defaults for HTTP_PORT (1277 is use by another service). --- README.md | 2 +- test/functions.source | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 247c9230..bb476d8e 100644 --- a/README.md +++ b/README.md @@ -775,7 +775,7 @@ Environment Variables used by the test suite: | Variable | Default | Platforms | Purpose | |:-- |:-- |:-- |:-- | | EXIV2_BINDIR | **\/build/bin** | All Platforms | Location of built binary objects (exiv2.exe) | -| EXIV2_PORT | **1277**
**1278**
**1276** | Cygwin
MinGW/msys2
Other Platforms | Test TCP/IP Port | +| EXIV2_PORT | **12762**
**12671**
**12760** | Cygwin
MinGW/msys2
Other Platforms | Test TCP/IP Port | | EXIV2_HTTP | **http://0.0.0.0** | All Platforms | Test http server | | EXIV2_EXT | **.exe** | msvc
Cygwin
MinGW/msys2 | Extension used by executable binaries | | EXIV2_EXT | _**not set**_ | Linux
macOS
Unix| | diff --git a/test/functions.source b/test/functions.source index aa9f61c0..94bbfb8b 100644 --- a/test/functions.source +++ b/test/functions.source @@ -438,9 +438,9 @@ checkSum() startHttpServer() { cd "${testdir}/.." # testdir is the tmp output directory - if [ "$PLATFORM" == "cygwin" ]; then dport=1277 - elif [ "$PLATFORM" == "mingw" ]; then dport=1278 - else dport=1276 + if [ "$PLATFORM" == "cygwin" ]; then dport=12762 + elif [ "$PLATFORM" == "mingw" ]; then dport=12761 + else dport=12760 fi if [ ! -z $EXIV2_PORT ]; then port=$EXIV2_PORT ; else port=$dport ; fi