From: Evan Hunt Date: Sat, 26 Jan 2019 08:54:22 +0000 (-0800) Subject: fix runtime test X-Git-Tag: v9.11.6rc1~41^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=7dad677ef8acf8b755ef511e3dc1512b35b65032;p=thirdparty%2Fbind9.git fix runtime test named doesn't understand cygwin paths, so we need to use `cygpath -aw .` instead of `pwd` to get the absolute path to the working directory. --- diff --git a/bin/tests/system/runtime/setup.sh b/bin/tests/system/runtime/setup.sh index 04cb026a3a6..0a8241facb9 100644 --- a/bin/tests/system/runtime/setup.sh +++ b/bin/tests/system/runtime/setup.sh @@ -25,11 +25,13 @@ mkdir ns2/nope if [ 1 = "${CYGWIN:-0}" ] then setfacl -s user::r-x,group::r-x,other::r-x ns2/nope + cwd=`cygpath -aw .` else chmod 555 ns2/nope + cwd=`pwd` fi -echo "directory \"`pwd`/ns2\";" > ns2/dir -echo "directory \"`pwd`/ns2/nope\";" > ns2/nopedir -echo "managed-keys-directory \"`pwd`/ns2\";" > ns2/mkd -echo "managed-keys-directory \"`pwd`/ns2/nope\";" > ns2/nopemkd +echo "directory \"$cwd/ns2\";" > ns2/dir +echo "directory \"$cwd/ns2/nope\";" > ns2/nopedir +echo "managed-keys-directory \"$cwd/ns2\";" > ns2/mkd +echo "managed-keys-directory \"$cwd/ns2/nope\";" > ns2/nopemkd